blob: edcf98efc0d3ff702a7f8491e5a1edffeac6ebcb [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
Andrew Geissler072da3e2018-01-18 07:21:42 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsf289c652022-08-26 10:43:10 -050012AllowShortBlocksOnASingleLine: Empty
Andrew Geissler072da3e2018-01-18 07:21:42 -080013AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsf289c652022-08-26 10:43:10 -050014AllowShortFunctionsOnASingleLine: Empty
Andrew Geissler072da3e2018-01-18 07:21:42 -080015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050019AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler072da3e2018-01-18 07:21:42 -080020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Patrick Williams01ac5ca2020-05-21 15:06:30 -050023 AfterCaseLabel: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Patrick Williams127b8ab2020-05-21 15:24:19 -050032 AfterExternBlock: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Patrick Williams127b8ab2020-05-21 15:24:19 -050043BreakInheritanceList: AfterColon
Patrick Williamsf289c652022-08-26 10:43:10 -050044BreakStringLiterals: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Patrick Williams127b8ab2020-05-21 15:24:19 -050047CompactNamespaces: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williamsf289c652022-08-26 10:43:10 -050052DeriveLineEnding: false
William A. Kennington IIIe0d69652018-08-31 13:09:47 -070053DerivePointerAlignment: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venture95269db2018-08-31 09:19:17 -070059IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Patrick Williams127b8ab2020-05-21 15:24:19 -050062 Priority: 7
Patrick Venture95269db2018-08-31 09:19:17 -070063 - Regex: '^"config.h"'
64 Priority: -1
Patrick Williams127b8ab2020-05-21 15:24:19 -050065 - Regex: '^".*\.h"'
Patrick Venture95269db2018-08-31 09:19:17 -070066 Priority: 1
Patrick Williams127b8ab2020-05-21 15:24:19 -050067 - Regex: '^".*\.hpp"'
Patrick Venture95269db2018-08-31 09:19:17 -070068 Priority: 2
Patrick Williams127b8ab2020-05-21 15:24:19 -050069 - Regex: '^<.*\.h>'
Patrick Venture95269db2018-08-31 09:19:17 -070070 Priority: 3
Patrick Williams127b8ab2020-05-21 15:24:19 -050071 - Regex: '^<.*\.hpp>'
Patrick Venture95269db2018-08-31 09:19:17 -070072 Priority: 4
Patrick Williams127b8ab2020-05-21 15:24:19 -050073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Andrew Geissler072da3e2018-01-18 07:21:42 -080077IndentCaseLabels: true
78IndentWidth: 4
Adriana Kobylakf9c02db2018-02-28 13:28:54 -060079IndentWrappedFunctionNames: true
Patrick Williamsf289c652022-08-26 10:43:10 -050080KeepEmptyLinesAtTheStartOfBlocks: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
Patrick Williams1a25a102022-09-29 17:18:26 -050088PenaltyBreakAssignment: 25
Andrew Geissler072da3e2018-01-18 07:21:42 -080089PenaltyBreakBeforeFirstCallParameter: 19
90PenaltyBreakComment: 300
91PenaltyBreakFirstLessLess: 120
92PenaltyBreakString: 1000
93PenaltyExcessCharacter: 1000000
94PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams1a25a102022-09-29 17:18:26 -050095PenaltyIndentedWhitespace: 0
Andrew Geissler072da3e2018-01-18 07:21:42 -080096ReflowComments: true
Patrick Venture95269db2018-08-31 09:19:17 -070097SortIncludes: true
William A. Kennington III06da5622018-08-31 13:00:29 -070098SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080099SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -0500100SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800101SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -0500102SpaceBeforeCpp11BracedList: false
103SpaceBeforeCtorInitializerColon: true
104SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800105SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500106SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800107SpaceInEmptyParentheses: false
108SpacesBeforeTrailingComments: 1
109SpacesInAngles: false
110SpacesInContainerLiterals: true
111SpacesInCStyleCastParentheses: false
112SpacesInParentheses: false
113SpacesInSquareBrackets: false
Patrick Williamsf289c652022-08-26 10:43:10 -0500114Standard: Latest
Andrew Geissler072da3e2018-01-18 07:21:42 -0800115TabWidth: 4
Patrick Williamsf289c652022-08-26 10:43:10 -0500116UseCRLF: false
Andrew Geissler072da3e2018-01-18 07:21:42 -0800117UseTab: Never
118...
119