1--- 2Language: Cpp 3# BasedOnStyle: Google 4AccessModifierOffset: -1 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false 8AlignEscapedNewlinesLeft: true 9AlignOperands: true 10AlignTrailingComments: true 11AllowAllParametersOfDeclarationOnNextLine: true 12AllowShortBlocksOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: All 15AllowShortIfStatementsOnASingleLine: true 16AllowShortLoopsOnASingleLine: true 17AlwaysBreakAfterDefinitionReturnType: None 18AlwaysBreakAfterReturnType: None 19AlwaysBreakBeforeMultilineStrings: true 20AlwaysBreakTemplateDeclarations: true 21BinPackArguments: true 22BinPackParameters: true 23BraceWrapping: 24 AfterClass: false 25 AfterControlStatement: false 26 AfterEnum: false 27 AfterFunction: false 28 AfterNamespace: false 29 AfterObjCDeclaration: false 30 AfterStruct: false 31 AfterUnion: false 32 BeforeCatch: false 33 BeforeElse: false 34 IndentBraces: false 35BreakBeforeBinaryOperators: None 36BreakBeforeBraces: Attach 37BreakBeforeTernaryOperators: true 38BreakConstructorInitializersBeforeComma: false 39BreakAfterJavaFieldAnnotations: false 40BreakStringLiterals: true 41ColumnLimit: 80 42CommentPragmas: '^ IWYU pragma:' 43ConstructorInitializerAllOnOneLineOrOnePerLine: true 44ConstructorInitializerIndentWidth: 4 45ContinuationIndentWidth: 4 46Cpp11BracedListStyle: true 47DerivePointerAlignment: true 48DisableFormat: false 49ExperimentalAutoDetectBinPacking: false 50ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 51IncludeCategories: 52 - Regex: '^<.*\.h>' 53 Priority: 1 54 - Regex: '^<.*' 55 Priority: 2 56 - Regex: '.*' 57 Priority: 3 58IncludeIsMainRegex: '([-_](test|unittest))?$' 59IndentCaseLabels: true 60IndentWidth: 2 61IndentWrappedFunctionNames: false 62JavaScriptQuotes: Leave 63JavaScriptWrapImports: true 64KeepEmptyLinesAtTheStartOfBlocks: false 65MacroBlockBegin: '' 66MacroBlockEnd: '' 67MaxEmptyLinesToKeep: 1 68NamespaceIndentation: None 69ObjCBlockIndentWidth: 2 70ObjCSpaceAfterProperty: false 71ObjCSpaceBeforeProtocolList: false 72PenaltyBreakBeforeFirstCallParameter: 1 73PenaltyBreakComment: 300 74PenaltyBreakFirstLessLess: 120 75PenaltyBreakString: 1000 76PenaltyExcessCharacter: 1000000 77PenaltyReturnTypeOnItsOwnLine: 200 78PointerAlignment: Left 79ReflowComments: true 80SortIncludes: true 81SpaceAfterCStyleCast: false 82SpaceBeforeAssignmentOperators: true 83SpaceBeforeParens: ControlStatements 84SpaceInEmptyParentheses: false 85SpacesBeforeTrailingComments: 2 86SpacesInAngles: false 87SpacesInContainerLiterals: true 88SpacesInCStyleCastParentheses: false 89SpacesInParentheses: false 90SpacesInSquareBrackets: false 91Standard: Auto 92TabWidth: 8 93UseTab: Never 94... 95 96