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