| --- |
| Language: Cpp |
| # BasedOnStyle: LLVM |
| AccessModifierOffset: -2 |
| AlignAfterOpenBracket: Align |
| AlignConsecutiveAssignments: false |
| AlignConsecutiveDeclarations: false |
| AlignEscapedNewlines: Right |
| AlignOperands: true |
| AlignTrailingComments: true |
| AllowAllParametersOfDeclarationOnNextLine: true |
| AllowShortBlocksOnASingleLine: false |
| AllowShortCaseLabelsOnASingleLine: false |
| AllowShortFunctionsOnASingleLine: None |
| AllowShortIfStatementsOnASingleLine: false |
| AllowShortLoopsOnASingleLine: false |
| AlwaysBreakAfterReturnType: None |
| AlwaysBreakBeforeMultilineStrings: false |
| AlwaysBreakTemplateDeclarations: Yes |
| BinPackArguments: true |
| BinPackParameters: true |
| BraceWrapping: |
| AfterCaseLabel: true |
| AfterClass: true |
| AfterControlStatement: true |
| AfterEnum: true |
| AfterFunction: true |
| AfterNamespace: true |
| AfterObjCDeclaration: true |
| AfterStruct: true |
| AfterUnion: true |
| AfterExternBlock: true |
| BeforeCatch: true |
| BeforeElse: true |
| IndentBraces: false |
| SplitEmptyFunction: false |
| SplitEmptyRecord: false |
| SplitEmptyNamespace: false |
| BreakBeforeBinaryOperators: None |
| BreakBeforeBraces: Custom |
| BreakBeforeTernaryOperators: true |
| BreakConstructorInitializers: AfterColon |
| BreakInheritanceList: AfterColon |
| BreakStringLiterals: false |
| ColumnLimit: 80 |
| CommentPragmas: '^ IWYU pragma:' |
| CompactNamespaces: false |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| ConstructorInitializerIndentWidth: 4 |
| ContinuationIndentWidth: 4 |
| Cpp11BracedListStyle: true |
| DerivePointerAlignment: false |
| PointerAlignment: Left |
| DisableFormat: false |
| ExperimentalAutoDetectBinPacking: false |
| FixNamespaceComments: true |
| ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| IncludeBlocks: Regroup |
| IncludeCategories: |
| - Regex: '^[<"](gtest|gmock)' |
| Priority: 7 |
| - Regex: '^"config.h"' |
| Priority: -1 |
| - Regex: '^".*\.h"' |
| Priority: 1 |
| - Regex: '^".*\.hpp"' |
| Priority: 2 |
| - Regex: '^<.*\.h>' |
| Priority: 3 |
| - Regex: '^<.*\.hpp>' |
| Priority: 4 |
| - Regex: '^<.*' |
| Priority: 5 |
| - Regex: '.*' |
| Priority: 6 |
| IndentCaseLabels: true |
| IndentWidth: 4 |
| IndentWrappedFunctionNames: 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 |
| ReflowComments: true |
| SortIncludes: true |
| SortUsingDeclarations: true |
| SpaceAfterCStyleCast: false |
| SpaceAfterTemplateKeyword: true |
| SpaceBeforeAssignmentOperators: true |
| SpaceBeforeCpp11BracedList: false |
| SpaceBeforeCtorInitializerColon: true |
| SpaceBeforeInheritanceColon: true |
| SpaceBeforeParens: ControlStatements |
| SpaceBeforeRangeBasedForLoopColon: true |
| SpaceInEmptyParentheses: false |
| SpacesBeforeTrailingComments: 1 |
| SpacesInAngles: false |
| SpacesInContainerLiterals: true |
| SpacesInCStyleCastParentheses: false |
| SpacesInParentheses: false |
| SpacesInSquareBrackets: false |
| Standard: Latest |
| TabWidth: 4 |
| UseTab: Never |
| ... |