| --- | |
| Language: Cpp | |
| # BasedOnStyle: Google | |
| AccessModifierOffset: -4 | |
| AlignAfterOpenBracket: Align | |
| AlignConsecutiveAssignments: false | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Left | |
| AlignOperands: true | |
| AlignTrailingComments: true | |
| AllowAllParametersOfDeclarationOnNextLine: true | |
| AllowShortBlocksOnASingleLine: true | |
| AllowShortCaseLabelsOnASingleLine: true | |
| AllowShortFunctionsOnASingleLine: Inline | |
| AllowShortIfStatementsOnASingleLine: true | |
| AllowShortLoopsOnASingleLine: true | |
| AlwaysBreakAfterDefinitionReturnType: None | |
| AlwaysBreakAfterReturnType: None | |
| AlwaysBreakBeforeMultilineStrings: true | |
| AlwaysBreakTemplateDeclarations: true | |
| BinPackArguments: true | |
| BinPackParameters: true | |
| BraceWrapping: | |
| AfterCaseLabel: true | |
| AfterClass: true | |
| AfterControlStatement: true | |
| AfterEnum: true | |
| AfterExternBlock: false | |
| AfterFunction: true | |
| AfterNamespace: false | |
| AfterStruct: true | |
| AfterUnion: true | |
| BeforeCatch: true | |
| BeforeElse: true | |
| IndentBraces: false | |
| SplitEmptyFunction: false | |
| SplitEmptyNamespace: false | |
| SplitEmptyRecord: false | |
| BreakBeforeBinaryOperators: None | |
| BreakBeforeBraces: Custom | |
| BreakBeforeInheritanceComma: false | |
| BreakBeforeTernaryOperators: true | |
| BreakConstructorInitializersBeforeComma: false | |
| BreakConstructorInitializers: BeforeComma | |
| BreakAfterJavaFieldAnnotations: false | |
| BreakStringLiterals: true | |
| ColumnLimit: 0 | |
| CommentPragmas: '^ IWYU pragma:' | |
| CompactNamespaces: false | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
| ConstructorInitializerIndentWidth: 4 | |
| ContinuationIndentWidth: 4 | |
| Cpp11BracedListStyle: false | |
| DerivePointerAlignment: false | |
| DisableFormat: false | |
| ExperimentalAutoDetectBinPacking: false | |
| FixNamespaceComments: true | |
| ForEachMacros: | |
| - Q_FOREACH | |
| - BOOST_FOREACH | |
| IncludeBlocks: Preserve | |
| IncludeCategories: | |
| - Regex: '^"[^/]*"' | |
| Priority: 1 | |
| - Regex: '^".*/.*"' | |
| Priority: 2 | |
| - Regex: '^<.*\..*>' | |
| Priority: 3 | |
| - Regex: '^<[^.]*>' | |
| Priority: 4 | |
| - Regex: '.*' | |
| Priority: 5 | |
| IncludeIsMainRegex: '([-_](test|unittest))?$' | |
| IndentCaseBlocks: true | |
| IndentCaseLabels: false | |
| IndentPPDirectives: AfterHash | |
| IndentWidth: 4 | |
| IndentWrappedFunctionNames: false | |
| JavaScriptQuotes: Leave | |
| JavaScriptWrapImports: true | |
| KeepEmptyLinesAtTheStartOfBlocks: true | |
| MacroBlockBegin: '' | |
| MacroBlockEnd: '' | |
| MaxEmptyLinesToKeep: 1 | |
| NamespaceIndentation: None | |
| ObjCBlockIndentWidth: 2 | |
| ObjCSpaceAfterProperty: false | |
| ObjCSpaceBeforeProtocolList: false | |
| PenaltyBreakAssignment: 2 | |
| PenaltyBreakBeforeFirstCallParameter: 1 | |
| PenaltyBreakComment: 300 | |
| PenaltyBreakFirstLessLess: 120 | |
| PenaltyBreakString: 1000 | |
| PenaltyExcessCharacter: 1000000 | |
| PenaltyReturnTypeOnItsOwnLine: 200 | |
| PointerAlignment: Right | |
| RawStringFormats: | |
| - Language: TextProto | |
| BasedOnStyle: google | |
| ReflowComments: true | |
| SortIncludes: true | |
| SortUsingDeclarations: true | |
| SpaceAfterCStyleCast: false | |
| SpaceAfterTemplateKeyword: false | |
| SpaceBeforeAssignmentOperators: true | |
| SpaceBeforeParens: Never | |
| SpaceInEmptyParentheses: false | |
| SpacesBeforeTrailingComments: 2 | |
| SpacesInAngles: false | |
| SpacesInContainerLiterals: true | |
| SpacesInCStyleCastParentheses: false | |
| SpacesInParentheses: false | |
| SpacesInSquareBrackets: false | |
| Standard: Auto | |
| TabWidth: 4 | |
| UseTab: ForIndentation | |
| ... | |