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