blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Zane Shelleydd156ad2019-10-25 20:59:55 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
Patrick Williams2f7537d2023-05-10 07:51:39 -05006AlignConsecutiveAssignments: false
Zane Shelleyd478c8c2022-07-13 10:27:35 -05007AlignConsecutiveDeclarations: false
Zane Shelleydd156ad2019-10-25 20:59:55 -05008AlignEscapedNewlines: Right
Patrick Williams2f7537d2023-05-10 07:51:39 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Zane Shelleydd156ad2019-10-25 20:59:55 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050014AllowShortBlocksOnASingleLine: Empty
Zane Shelleydd156ad2019-10-25 20:59:55 -050015AllowShortCaseLabelsOnASingleLine: false
16AllowShortFunctionsOnASingleLine: Empty
Zane Shelleyd478c8c2022-07-13 10:27:35 -050017AllowShortIfStatementsOnASingleLine: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050018AllowShortLoopsOnASingleLine: false
19AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
21AlwaysBreakTemplateDeclarations: Yes
22BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Zane Shelley55afd632020-06-03 17:06:30 -050025 AfterCaseLabel: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050026 AfterClass: true
Zane Shelleyd478c8c2022-07-13 10:27:35 -050027 AfterControlStatement: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050028 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
34 AfterExternBlock: true
35 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
38 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams2f7537d2023-05-10 07:51:39 -050041BreakAfterAttributes: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -050042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
46BreakInheritanceList: AfterColon
Patrick Williams2f7537d2023-05-10 07:51:39 -050047BreakStringLiterals: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
50CompactNamespaces: false
Zane Shelleyd478c8c2022-07-13 10:27:35 -050051ConstructorInitializerAllOnOneLineOrOnePerLine: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050052ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Zane Shelley5d02cc22022-06-27 10:37:36 -050055DeriveLineEnding: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: 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
80IndentCaseLabels: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050081IndentRequiresClause: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050084InsertNewlineAtEOF: true
Zane Shelley5d02cc22022-06-27 10:37:36 -050085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams2f7537d2023-05-10 07:51:39 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Zane Shelleydd156ad2019-10-25 20:59:55 -050088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams2f7537d2023-05-10 07:51:39 -050095PenaltyBreakAssignment: 25
Zane Shelleydd156ad2019-10-25 20:59:55 -050096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2f7537d2023-05-10 07:51:39 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Zane Shelleydd156ad2019-10-25 20:59:55 -0500105ReflowComments: true
Patrick Williams2f7537d2023-05-10 07:51:39 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Zane Shelleyd478c8c2022-07-13 10:27:35 -0500108SortIncludes: true
Zane Shelleydd156ad2019-10-25 20:59:55 -0500109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
111SpaceAfterTemplateKeyword: true
112SpaceBeforeAssignmentOperators: true
113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
116SpaceBeforeParens: ControlStatements
117SpaceBeforeRangeBasedForLoopColon: true
118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
Zane Shelleyd478c8c2022-07-13 10:27:35 -0500120SpacesInAngles: false
Zane Shelleydd156ad2019-10-25 20:59:55 -0500121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Zane Shelley55afd632020-06-03 17:06:30 -0500125Standard: Latest
Zane Shelleydd156ad2019-10-25 20:59:55 -0500126TabWidth: 4
127UseTab: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -0500128...
129