| --- |
| Language: Cpp |
| # BasedOnStyle: LLVM |
| AccessModifierOffset: -2 |
| AlignAfterOpenBracket: Align |
| AlignConsecutiveAssignments: false |
| AlignConsecutiveDeclarations: false |
| AlignEscapedNewlinesLeft: false |
| AlignOperands: true |
| AlignTrailingComments: true |
| AllowAllParametersOfDeclarationOnNextLine: true |
| AllowShortBlocksOnASingleLine: false |
| AllowShortCaseLabelsOnASingleLine: false |
| AllowShortFunctionsOnASingleLine: None |
| AllowShortIfStatementsOnASingleLine: false |
| AllowShortLoopsOnASingleLine: false |
| AlwaysBreakAfterDefinitionReturnType: None |
| AlwaysBreakAfterReturnType: None |
| AlwaysBreakBeforeMultilineStrings: false |
| AlwaysBreakTemplateDeclarations: true |
| BinPackArguments: true |
| BinPackParameters: true |
| BraceWrapping: |
| AfterClass: true |
| AfterControlStatement: true |
| AfterEnum: true |
| AfterFunction: true |
| AfterNamespace: true |
| AfterObjCDeclaration: true |
| AfterStruct: true |
| AfterUnion: true |
| BeforeCatch: true |
| BeforeElse: true |
| IndentBraces: false |
| BreakBeforeBinaryOperators: None |
| BreakBeforeBraces: Custom |
| BreakBeforeTernaryOperators: true |
| BreakConstructorInitializers: AfterColon |
| ColumnLimit: 80 |
| CommentPragmas: '^ IWYU pragma:' |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| ConstructorInitializerIndentWidth: 4 |
| ContinuationIndentWidth: 4 |
| Cpp11BracedListStyle: true |
| DerivePointerAlignment: true |
| PointerAlignment: Left |
| DisableFormat: false |
| ExperimentalAutoDetectBinPacking: false |
| FixNamespaceComments: true |
| ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| IncludeBlocks: Regroup |
| IncludeCategories: |
| - Regex: '^[<"](gtest|gmock)' |
| Priority: 5 |
| - Regex: '^"config.h"' |
| Priority: -1 |
| - Regex: '^".*\.hpp"' |
| Priority: 1 |
| - Regex: '^<.*\.h>' |
| Priority: 2 |
| - Regex: '^<.*' |
| Priority: 3 |
| - Regex: '.*' |
| Priority: 4 |
| 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 |
| PointerAlignment: Right |
| ReflowComments: true |
| SortIncludes: true |
| 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 |
| ... |
| |