| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| --- |
| Language: Cpp |
| # BasedOnStyle: LLVM |
| AccessModifierOffset: -4 |
| AlignAfterOpenBracket: Align |
| AlignConsecutiveAssignments: false |
| AlignConsecutiveDeclarations: false |
| AlignEscapedNewlinesLeft: false |
| AlignOperands: true |
| AlignTrailingComments: true |
| AllowAllParametersOfDeclarationOnNextLine: true |
| AllowShortBlocksOnASingleLine: false |
| AllowShortCaseLabelsOnASingleLine: false |
| AllowShortFunctionsOnASingleLine: All |
| AllowShortIfStatementsOnASingleLine: false |
| AllowShortLoopsOnASingleLine: false |
| AlwaysBreakAfterDefinitionReturnType: None |
| AlwaysBreakAfterReturnType: None |
| AlwaysBreakBeforeMultilineStrings: false |
| AlwaysBreakTemplateDeclarations: true |
| BinPackArguments: false |
| BinPackParameters: false |
| BraceWrapping: |
| AfterClass: true |
| AfterControlStatement: false |
| AfterEnum: true |
| AfterFunction: true |
| AfterNamespace: false |
| AfterObjCDeclaration: false |
| AfterStruct: true |
| AfterUnion: true |
| BeforeCatch: false |
| BeforeElse: false |
| IndentBraces: false |
| BreakBeforeBinaryOperators: None |
| BreakBeforeBraces: Custom |
| BreakBeforeTernaryOperators: true |
| BreakConstructorInitializersBeforeComma: false |
| BreakAfterJavaFieldAnnotations: false |
| BreakStringLiterals: true |
| ColumnLimit: 100 |
| CommentPragmas: '^ IWYU pragma:' |
| ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| ConstructorInitializerIndentWidth: 4 |
| ContinuationIndentWidth: 4 |
| Cpp11BracedListStyle: true |
| DerivePointerAlignment: false |
| DisableFormat: false |
| ExperimentalAutoDetectBinPacking: true |
| ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| IncludeCategories: |
| - Regex: '^"(llvm|llvm-c|clang|clang-c)/' |
| Priority: 2 |
| - Regex: '^(<|"(gtest|isl|json)/)' |
| Priority: 3 |
| - Regex: '.*' |
| Priority: 1 |
| IncludeIsMainRegex: '$' |
| IndentCaseLabels: false |
| IndentWidth: 4 |
| IndentWrappedFunctionNames: false |
| JavaScriptQuotes: Leave |
| JavaScriptWrapImports: true |
| KeepEmptyLinesAtTheStartOfBlocks: true |
| MacroBlockBegin: '' |
| MacroBlockEnd: '' |
| MaxEmptyLinesToKeep: 1 |
| NamespaceIndentation: None |
| ObjCBlockIndentWidth: 2 |
| ObjCSpaceAfterProperty: false |
| ObjCSpaceBeforeProtocolList: true |
| PenaltyBreakBeforeFirstCallParameter: 19 |
| PenaltyBreakComment: 300 |
| PenaltyBreakFirstLessLess: 120 |
| PenaltyBreakString: 1000 |
| PenaltyExcessCharacter: 1000000 |
| PenaltyReturnTypeOnItsOwnLine: 60 |
| PointerAlignment: Right |
| ReflowComments: true |
| SortIncludes: false |
| SpaceAfterCStyleCast: false |
| SpaceBeforeAssignmentOperators: true |
| SpaceBeforeParens: ControlStatements |
| SpaceInEmptyParentheses: false |
| SpacesBeforeTrailingComments: 1 |
| SpacesInAngles: false |
| SpacesInContainerLiterals: true |
| SpacesInCStyleCastParentheses: false |
| SpacesInParentheses: false |
| SpacesInSquareBrackets: false |
| Standard: Cpp11 |
| TabWidth: 4 |
| UseTab: Never |
| ... |
| |