1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false 8AlignEscapedNewlines: Right 9AlignOperands: true 10AlignTrailingComments: true 11AllowAllParametersOfDeclarationOnNextLine: true 12AllowShortBlocksOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: None 15AllowShortIfStatementsOnASingleLine: false 16AllowShortLoopsOnASingleLine: false 17AlwaysBreakAfterReturnType: None 18AlwaysBreakBeforeMultilineStrings: false 19AlwaysBreakTemplateDeclarations: Yes 20BinPackArguments: true 21BinPackParameters: true 22BraceWrapping: 23 AfterCaseLabel: true 24 AfterClass: true 25 AfterControlStatement: true 26 AfterEnum: true 27 AfterFunction: true 28 AfterNamespace: true 29 AfterObjCDeclaration: true 30 AfterStruct: true 31 AfterUnion: true 32 AfterExternBlock: true 33 BeforeCatch: true 34 BeforeElse: true 35 IndentBraces: false 36 SplitEmptyFunction: false 37 SplitEmptyRecord: false 38 SplitEmptyNamespace: false 39BreakBeforeBinaryOperators: None 40BreakBeforeBraces: Custom 41BreakBeforeTernaryOperators: true 42BreakConstructorInitializers: AfterColon 43BreakInheritanceList: AfterColon 44BreakStringLiterals: false 45ColumnLimit: 80 46CommentPragmas: '^ IWYU pragma:' 47CompactNamespaces: false 48ConstructorInitializerAllOnOneLineOrOnePerLine: false 49ConstructorInitializerIndentWidth: 4 50ContinuationIndentWidth: 4 51Cpp11BracedListStyle: true 52DerivePointerAlignment: false 53PointerAlignment: Left 54DisableFormat: false 55ExperimentalAutoDetectBinPacking: false 56FixNamespaceComments: true 57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 58IncludeBlocks: Regroup 59IncludeCategories: 60 - Regex: '^[<"](gtest|gmock)' 61 Priority: 7 62 - Regex: '^"config.h"' 63 Priority: -1 64 - Regex: '^".*\.h"' 65 Priority: 1 66 - Regex: '^".*\.hpp"' 67 Priority: 2 68 - Regex: '^<.*\.h>' 69 Priority: 3 70 - Regex: '^<.*\.hpp>' 71 Priority: 4 72 - Regex: '^<.*' 73 Priority: 5 74 - Regex: '.*' 75 Priority: 6 76IndentCaseLabels: true 77IndentWidth: 4 78IndentWrappedFunctionNames: true 79KeepEmptyLinesAtTheStartOfBlocks: true 80MacroBlockBegin: '' 81MacroBlockEnd: '' 82MaxEmptyLinesToKeep: 1 83NamespaceIndentation: None 84LambdaBodyIndentation: OuterScope 85ObjCBlockIndentWidth: 2 86ObjCSpaceAfterProperty: false 87ObjCSpaceBeforeProtocolList: true 88PenaltyBreakBeforeFirstCallParameter: 19 89PenaltyBreakComment: 300 90PenaltyBreakFirstLessLess: 120 91PenaltyBreakString: 1000 92PenaltyExcessCharacter: 1000000 93PenaltyReturnTypeOnItsOwnLine: 60 94ReflowComments: true 95SortIncludes: true 96SortUsingDeclarations: true 97SpaceAfterCStyleCast: false 98SpaceAfterTemplateKeyword: true 99SpaceBeforeAssignmentOperators: true 100SpaceBeforeCpp11BracedList: false 101SpaceBeforeCtorInitializerColon: true 102SpaceBeforeInheritanceColon: true 103SpaceBeforeParens: ControlStatements 104SpaceBeforeRangeBasedForLoopColon: true 105SpaceInEmptyParentheses: false 106SpacesBeforeTrailingComments: 1 107SpacesInAngles: false 108SpacesInContainerLiterals: true 109SpacesInCStyleCastParentheses: false 110SpacesInParentheses: false 111SpacesInSquareBrackets: false 112Standard: Latest 113TabWidth: 4 114UseTab: Never 115... 116 117