1--- 2Language: Cpp 3# BasedOnStyle: Google 4AccessModifierOffset: -1 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false 8AlignEscapedNewlines: Right 9AlignOperands: true 10AlignTrailingComments: true 11AllowAllParametersOfDeclarationOnNextLine: true 12AllowShortBlocksOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: Inline 15AllowShortIfStatementsOnASingleLine: true 16AllowShortLoopsOnASingleLine: true 17AlwaysBreakAfterDefinitionReturnType: None 18AlwaysBreakAfterReturnType: None 19AlwaysBreakBeforeMultilineStrings: false 20AlwaysBreakTemplateDeclarations: true 21BinPackArguments: false 22BinPackParameters: false 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 AfterExternBlock: false 33 BeforeCatch: false 34 BeforeElse: false 35 IndentBraces: false 36 SplitEmptyFunction: true 37 SplitEmptyRecord: true 38 SplitEmptyNamespace: true 39BreakBeforeBinaryOperators: None 40BreakBeforeBraces: Attach 41BreakBeforeInheritanceComma: false 42BreakBeforeTernaryOperators: true 43BreakConstructorInitializersBeforeComma: false 44BreakConstructorInitializers: BeforeColon 45BreakAfterJavaFieldAnnotations: false 46BreakStringLiterals: true 47ColumnLimit: 80 48CommentPragmas: '^ IWYU pragma:' 49CompactNamespaces: false 50ConstructorInitializerAllOnOneLineOrOnePerLine: true 51ConstructorInitializerIndentWidth: 4 52ContinuationIndentWidth: 4 53Cpp11BracedListStyle: true 54DerivePointerAlignment: false 55DisableFormat: false 56ExperimentalAutoDetectBinPacking: false 57FixNamespaceComments: true 58ForEachMacros: 59 - foreach 60 - Q_FOREACH 61 - BOOST_FOREACH 62IncludeBlocks: Preserve 63IncludeCategories: 64 - Regex: '^<ext/.*\.h>' 65 Priority: 2 66 - Regex: '^<.*\.h>' 67 Priority: 1 68 - Regex: '^<.*' 69 Priority: 2 70 - Regex: '.*' 71 Priority: 3 72IncludeIsMainRegex: '([-_](test|unittest))?$' 73IndentCaseLabels: true 74IndentPPDirectives: None 75IndentWidth: 2 76IndentWrappedFunctionNames: false 77JavaScriptQuotes: Leave 78JavaScriptWrapImports: true 79KeepEmptyLinesAtTheStartOfBlocks: false 80MacroBlockBegin: '' 81MacroBlockEnd: '' 82MaxEmptyLinesToKeep: 1 83NamespaceIndentation: None 84ObjCBlockIndentWidth: 2 85ObjCSpaceAfterProperty: false 86ObjCSpaceBeforeProtocolList: false 87PenaltyBreakAssignment: 2 88PenaltyBreakBeforeFirstCallParameter: 1 89PenaltyBreakComment: 300 90PenaltyBreakFirstLessLess: 120 91PenaltyBreakString: 1000 92PenaltyExcessCharacter: 1000000 93PenaltyReturnTypeOnItsOwnLine: 200 94PointerAlignment: Left 95ReflowComments: true 96SortIncludes: true 97SortUsingDeclarations: true 98SpaceAfterCStyleCast: false 99SpaceAfterTemplateKeyword: true 100SpaceBeforeAssignmentOperators: true 101SpaceBeforeParens: ControlStatements 102SpaceInEmptyParentheses: false 103SpacesBeforeTrailingComments: 2 104SpacesInAngles: false 105SpacesInContainerLiterals: true 106SpacesInCStyleCastParentheses: false 107SpacesInParentheses: false 108SpacesInSquareBrackets: false 109Standard: Auto 110TabWidth: 8 111UseTab: Never 112