1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6# AlignConsecutiveMacros: false # TODO restore 7AlignConsecutiveAssignments: false 8AlignConsecutiveDeclarations: false 9AlignEscapedNewlines: Right 10AlignOperands: true 11AlignTrailingComments: true 12AllowAllArgumentsOnNextLine: true 13AllowAllConstructorInitializersOnNextLine: true 14AllowAllParametersOfDeclarationOnNextLine: true 15AllowShortBlocksOnASingleLine: false 16AllowShortCaseLabelsOnASingleLine: false 17AllowShortFunctionsOnASingleLine: InlineOnly 18AllowShortLambdasOnASingleLine: All 19AllowShortIfStatementsOnASingleLine: Never 20AllowShortLoopsOnASingleLine: false 21AlwaysBreakAfterDefinitionReturnType: None 22AlwaysBreakAfterReturnType: AllDefinitions 23AlwaysBreakBeforeMultilineStrings: false 24AlwaysBreakTemplateDeclarations: MultiLine 25BinPackArguments: true 26BinPackParameters: true 27BraceWrapping: 28 AfterCaseLabel: false 29 AfterClass: false 30 AfterControlStatement: false 31 AfterEnum: false 32 AfterFunction: false 33 AfterNamespace: false 34 AfterObjCDeclaration: false 35 AfterStruct: false 36 AfterUnion: false 37 AfterExternBlock: false 38 BeforeCatch: false 39 BeforeElse: false 40 IndentBraces: false 41 SplitEmptyFunction: true 42 SplitEmptyRecord: true 43 SplitEmptyNamespace: true 44BreakBeforeBinaryOperators: All 45BreakBeforeBraces: Attach 46BreakBeforeInheritanceComma: false 47BreakInheritanceList: BeforeColon 48BreakBeforeTernaryOperators: true 49BreakConstructorInitializersBeforeComma: false 50BreakConstructorInitializers: BeforeColon 51BreakAfterJavaFieldAnnotations: false 52BreakStringLiterals: false 53ColumnLimit: 80 54CommentPragmas: '^ IWYU pragma:' 55CompactNamespaces: false 56ConstructorInitializerAllOnOneLineOrOnePerLine: false 57ConstructorInitializerIndentWidth: 4 58ContinuationIndentWidth: 4 59Cpp11BracedListStyle: true 60DerivePointerAlignment: false 61DisableFormat: false 62ExperimentalAutoDetectBinPacking: false 63FixNamespaceComments: true 64ForEachMacros: 65 - foreach 66 - Q_FOREACH 67 - BOOST_FOREACH 68IncludeBlocks: Preserve 69IncludeCategories: 70 - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 71 Priority: 2 72 - Regex: '^(<|"(gtest|gmock|isl|json)/)' 73 Priority: 3 74 - Regex: '.*' 75 Priority: 1 76IncludeIsMainRegex: '(Test)?$' 77IndentCaseLabels: false 78IndentPPDirectives: AfterHash 79IndentWidth: 2 80IndentWrappedFunctionNames: false 81JavaScriptQuotes: Leave 82JavaScriptWrapImports: true 83KeepEmptyLinesAtTheStartOfBlocks: false 84MacroBlockBegin: '' 85MacroBlockEnd: '' 86MaxEmptyLinesToKeep: 1 87NamespaceIndentation: None 88ObjCBinPackProtocolList: Auto 89ObjCBlockIndentWidth: 2 90ObjCSpaceAfterProperty: false 91ObjCSpaceBeforeProtocolList: true 92PenaltyBreakAssignment: 2 93PenaltyBreakBeforeFirstCallParameter: 19 94PenaltyBreakComment: 300 95PenaltyBreakFirstLessLess: 120 96PenaltyBreakString: 1000 97PenaltyBreakTemplateDeclaration: 10 98PenaltyExcessCharacter: 1000000 99PenaltyReturnTypeOnItsOwnLine: 60 100PointerAlignment: Right 101ReflowComments: true 102SortIncludes: false 103SortUsingDeclarations: false 104SpaceAfterCStyleCast: false 105SpaceAfterLogicalNot: true 106SpaceAfterTemplateKeyword: true 107SpaceBeforeAssignmentOperators: true 108SpaceBeforeCpp11BracedList: false 109SpaceBeforeCtorInitializerColon: true 110SpaceBeforeInheritanceColon: true 111SpaceBeforeParens: ControlStatements 112SpaceBeforeRangeBasedForLoopColon: true 113SpaceInEmptyParentheses: false 114SpacesBeforeTrailingComments: 1 115SpacesInAngles: false 116SpacesInContainerLiterals: false 117SpacesInCStyleCastParentheses: false 118SpacesInParentheses: false 119SpacesInSquareBrackets: false 120Standard: Cpp03 121StatementMacros: 122 - Q_UNUSED 123 - QT_REQUIRE_VERSION 124TabWidth: 8 125UseTab: Never 126... 127 128