blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Andrew Geissler072da3e2018-01-18 07:21:42 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams127b8ab2020-05-21 15:24:19 -05008AlignEscapedNewlines: Right
Patrick Williams41f42f62022-09-30 06:49:50 -05009AlignOperands: Align
Patrick Williamsd2149042023-05-10 07:50:13 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Andrew Geissler072da3e2018-01-18 07:21:42 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsf289c652022-08-26 10:43:10 -050014AllowShortBlocksOnASingleLine: Empty
Andrew Geissler072da3e2018-01-18 07:21:42 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsf289c652022-08-26 10:43:10 -050016AllowShortFunctionsOnASingleLine: Empty
Andrew Geissler072da3e2018-01-18 07:21:42 -080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050021AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler072da3e2018-01-18 07:21:42 -080022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williams01ac5ca2020-05-21 15:06:30 -050025 AfterCaseLabel: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams127b8ab2020-05-21 15:24:19 -050034 AfterExternBlock: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsd2149042023-05-10 07:50:13 -050041BreakAfterAttributes: Never
Andrew Geissler072da3e2018-01-18 07:21:42 -080042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams127b8ab2020-05-21 15:24:19 -050046BreakInheritanceList: AfterColon
Patrick Williamsf289c652022-08-26 10:43:10 -050047BreakStringLiterals: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams127b8ab2020-05-21 15:24:19 -050050CompactNamespaces: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williamsf289c652022-08-26 10:43:10 -050055DeriveLineEnding: false
William A. Kennington IIIe0d69652018-08-31 13:09:47 -070056DerivePointerAlignment: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venture95269db2018-08-31 09:19:17 -070062IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams127b8ab2020-05-21 15:24:19 -050065 Priority: 7
Patrick Venture95269db2018-08-31 09:19:17 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams127b8ab2020-05-21 15:24:19 -050068 - Regex: '^".*\.h"'
Patrick Venture95269db2018-08-31 09:19:17 -070069 Priority: 1
Patrick Williams127b8ab2020-05-21 15:24:19 -050070 - Regex: '^".*\.hpp"'
Patrick Venture95269db2018-08-31 09:19:17 -070071 Priority: 2
Patrick Williams127b8ab2020-05-21 15:24:19 -050072 - Regex: '^<.*\.h>'
Patrick Venture95269db2018-08-31 09:19:17 -070073 Priority: 3
Patrick Williams127b8ab2020-05-21 15:24:19 -050074 - Regex: '^<.*\.hpp>'
Patrick Venture95269db2018-08-31 09:19:17 -070075 Priority: 4
Patrick Williams127b8ab2020-05-21 15:24:19 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Andrew Geissler072da3e2018-01-18 07:21:42 -080080IndentCaseLabels: true
Patrick Williams41f42f62022-09-30 06:49:50 -050081IndentRequiresClause: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080082IndentWidth: 4
Adriana Kobylakf9c02db2018-02-28 13:28:54 -060083IndentWrappedFunctionNames: true
Patrick Williamsd2149042023-05-10 07:50:13 -050084InsertNewlineAtEOF: true
Patrick Williamsf289c652022-08-26 10:43:10 -050085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsd2149042023-05-10 07:50:13 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Andrew Geissler072da3e2018-01-18 07:21:42 -080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams1a25a102022-09-29 17:18:26 -050095PenaltyBreakAssignment: 25
Andrew Geissler072da3e2018-01-18 07:21:42 -080096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1a25a102022-09-29 17:18:26 -0500102PenaltyIndentedWhitespace: 0
Patrick Williams41f42f62022-09-30 06:49:50 -0500103QualifierAlignment: Left
104ReferenceAlignment: Left
Andrew Geissler072da3e2018-01-18 07:21:42 -0800105ReflowComments: true
Patrick Williams41f42f62022-09-30 06:49:50 -0500106RequiresClausePosition: OwnLine
Patrick Williamsd2149042023-05-10 07:50:13 -0500107RequiresExpressionIndentation: Keyword
Patrick Venture95269db2018-08-31 09:19:17 -0700108SortIncludes: true
William A. Kennington III06da5622018-08-31 13:00:29 -0700109SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800110SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -0500111SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800112SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800116SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500117SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williamsf289c652022-08-26 10:43:10 -0500125Standard: Latest
Andrew Geissler072da3e2018-01-18 07:21:42 -0800126TabWidth: 4
Andrew Geissler072da3e2018-01-18 07:21:42 -0800127UseTab: Never
128...
129