blob: 4922cf63310c24bebbb9e53aec72ed5dafd7aa39 [file] [log] [blame]
Gunnar Mills57d9c502018-09-14 14:42:34 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams89d734b2023-05-10 07:50:25 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Gunnar Mills57d9c502018-09-14 14:42:34 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams89d734b2023-05-10 07:50:25 -050014AllowShortBlocksOnASingleLine: Empty
Gunnar Mills57d9c502018-09-14 14:42:34 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams89d734b2023-05-10 07:50:25 -050016AllowShortFunctionsOnASingleLine: Empty
Gunnar Mills57d9c502018-09-14 14:42:34 -050017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams89d734b2023-05-10 07:50:25 -050021AlwaysBreakTemplateDeclarations: Yes
Gunnar Mills57d9c502018-09-14 14:42:34 -050022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Manojkiran Edab6103f22020-05-28 09:45:01 +053025 AfterCaseLabel: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams89d734b2023-05-10 07:50:25 -050034 AfterExternBlock: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams89d734b2023-05-10 07:50:25 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
41BreakAfterAttributes: Never
Gunnar Mills57d9c502018-09-14 14:42:34 -050042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams89d734b2023-05-10 07:50:25 -050046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams89d734b2023-05-10 07:50:25 -050050CompactNamespaces: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams89d734b2023-05-10 07:50:25 -050055DeriveLineEnding: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050056DerivePointerAlignment: false
Patrick Williams89d734b2023-05-10 07:50:25 -050057PointerAlignment: Left
Gunnar Mills57d9c502018-09-14 14:42:34 -050058DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams89d734b2023-05-10 07:50:25 -050065 Priority: 7
Gunnar Mills57d9c502018-09-14 14:42:34 -050066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams89d734b2023-05-10 07:50:25 -050068 - Regex: '^".*\.h"'
Gunnar Mills57d9c502018-09-14 14:42:34 -050069 Priority: 1
Patrick Williams89d734b2023-05-10 07:50:25 -050070 - Regex: '^".*\.hpp"'
Gunnar Mills57d9c502018-09-14 14:42:34 -050071 Priority: 2
Patrick Williams89d734b2023-05-10 07:50:25 -050072 - Regex: '^<.*\.h>'
Gunnar Mills57d9c502018-09-14 14:42:34 -050073 Priority: 3
Patrick Williams89d734b2023-05-10 07:50:25 -050074 - Regex: '^<.*\.hpp>'
Gunnar Mills57d9c502018-09-14 14:42:34 -050075 Priority: 4
Patrick Williams89d734b2023-05-10 07:50:25 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Gunnar Mills57d9c502018-09-14 14:42:34 -050080IndentCaseLabels: true
Patrick Williams89d734b2023-05-10 07:50:25 -050081IndentExternBlock: NoIndent
82IndentRequiresClause: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050083IndentWidth: 4
84IndentWrappedFunctionNames: true
Patrick Williams89d734b2023-05-10 07:50:25 -050085InsertNewlineAtEOF: true
86KeepEmptyLinesAtTheStartOfBlocks: false
87LambdaBodyIndentation: OuterScope
88LineEnding: LF
Gunnar Mills57d9c502018-09-14 14:42:34 -050089MacroBlockBegin: ''
90MacroBlockEnd: ''
91MaxEmptyLinesToKeep: 1
92NamespaceIndentation: None
93ObjCBlockIndentWidth: 2
94ObjCSpaceAfterProperty: false
95ObjCSpaceBeforeProtocolList: true
Patrick Williams89d734b2023-05-10 07:50:25 -050096PenaltyBreakAssignment: 25
Gunnar Mills57d9c502018-09-14 14:42:34 -050097PenaltyBreakBeforeFirstCallParameter: 19
98PenaltyBreakComment: 300
99PenaltyBreakFirstLessLess: 120
100PenaltyBreakString: 1000
101PenaltyExcessCharacter: 1000000
102PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams89d734b2023-05-10 07:50:25 -0500103PenaltyIndentedWhitespace: 0
104QualifierAlignment: Left
105ReferenceAlignment: Left
Gunnar Mills57d9c502018-09-14 14:42:34 -0500106ReflowComments: true
Patrick Williams89d734b2023-05-10 07:50:25 -0500107RequiresClausePosition: OwnLine
108RequiresExpressionIndentation: Keyword
Gunnar Mills57d9c502018-09-14 14:42:34 -0500109SortIncludes: true
110SortUsingDeclarations: true
111SpaceAfterCStyleCast: false
Patrick Williams89d734b2023-05-10 07:50:25 -0500112SpaceAfterTemplateKeyword: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500113SpaceBeforeAssignmentOperators: true
Patrick Williams89d734b2023-05-10 07:50:25 -0500114SpaceBeforeCpp11BracedList: false
115SpaceBeforeCtorInitializerColon: true
116SpaceBeforeInheritanceColon: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500117SpaceBeforeParens: ControlStatements
Patrick Williams89d734b2023-05-10 07:50:25 -0500118SpaceBeforeRangeBasedForLoopColon: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500119SpaceInEmptyParentheses: false
120SpacesBeforeTrailingComments: 1
121SpacesInAngles: false
122SpacesInContainerLiterals: true
123SpacesInCStyleCastParentheses: false
124SpacesInParentheses: false
125SpacesInSquareBrackets: false
Patrick Williams89d734b2023-05-10 07:50:25 -0500126Standard: Latest
Gunnar Mills57d9c502018-09-14 14:42:34 -0500127TabWidth: 4
128UseTab: Never
129...
Patrick Williams89d734b2023-05-10 07:50:25 -0500130