blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Patrick Venturedace6802018-11-01 16:52:10 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams39084b42023-05-10 07:50:58 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturedace6802018-11-01 16:52:10 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams39084b42023-05-10 07:50:58 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturedace6802018-11-01 16:52:10 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams39084b42023-05-10 07:50:58 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venturedace6802018-11-01 16:52:10 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venturedace6802018-11-01 16:52:10 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams39084b42023-05-10 07:50:58 -050021AlwaysBreakTemplateDeclarations: Yes
Patrick Venturedace6802018-11-01 16:52:10 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williams39084b42023-05-10 07:50:58 -050025 AfterCaseLabel: true
Patrick Venturedace6802018-11-01 16:52:10 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams39084b42023-05-10 07:50:58 -050034 AfterExternBlock: true
Patrick Venturedace6802018-11-01 16:52:10 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams39084b42023-05-10 07:50:58 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
41BreakAfterAttributes: Never
Patrick Venturedace6802018-11-01 16:52:10 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams39084b42023-05-10 07:50:58 -050046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Venturedace6802018-11-01 16:52:10 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams39084b42023-05-10 07:50:58 -050050CompactNamespaces: false
Patrick Venturedace6802018-11-01 16:52:10 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams39084b42023-05-10 07:50:58 -050055DeriveLineEnding: false
Patrick Venturedace6802018-11-01 16:52:10 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams39084b42023-05-10 07:50:58 -050065 Priority: 7
Patrick Venturedace6802018-11-01 16:52:10 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams39084b42023-05-10 07:50:58 -050068 - Regex: '^".*\.h"'
Patrick Venturedace6802018-11-01 16:52:10 -070069 Priority: 1
Patrick Williams39084b42023-05-10 07:50:58 -050070 - Regex: '^".*\.hpp"'
Patrick Venturedace6802018-11-01 16:52:10 -070071 Priority: 2
Patrick Williams39084b42023-05-10 07:50:58 -050072 - Regex: '^<.*\.h>'
Patrick Venturedace6802018-11-01 16:52:10 -070073 Priority: 3
Patrick Williams39084b42023-05-10 07:50:58 -050074 - Regex: '^<.*\.hpp>'
Patrick Venturedace6802018-11-01 16:52:10 -070075 Priority: 4
Patrick Williams39084b42023-05-10 07:50:58 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venturedace6802018-11-01 16:52:10 -070080IndentCaseLabels: true
Patrick Williams39084b42023-05-10 07:50:58 -050081IndentRequiresClause: true
Patrick Venturedace6802018-11-01 16:52:10 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams39084b42023-05-10 07:50:58 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Patrick Venturedace6802018-11-01 16:52:10 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams39084b42023-05-10 07:50:58 -050095PenaltyBreakAssignment: 25
Patrick Venturedace6802018-11-01 16:52:10 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams39084b42023-05-10 07:50:58 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venturedace6802018-11-01 16:52:10 -0700105ReflowComments: true
Patrick Williams39084b42023-05-10 07:50:58 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Patrick Venturedace6802018-11-01 16:52:10 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Patrick Williams39084b42023-05-10 07:50:58 -0500111SpaceAfterTemplateKeyword: true
Patrick Venturedace6802018-11-01 16:52:10 -0700112SpaceBeforeAssignmentOperators: true
Patrick Williams39084b42023-05-10 07:50:58 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700116SpaceBeforeParens: ControlStatements
Patrick Williams39084b42023-05-10 07:50:58 -0500117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturedace6802018-11-01 16:52:10 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williams39084b42023-05-10 07:50:58 -0500125Standard: Latest
Patrick Venturedace6802018-11-01 16:52:10 -0700126TabWidth: 4
127UseTab: Never
128...
129