blob: ba9f48dd9ba32860d1a4247ba3fe92a650b0602a [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
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
Andrew Geissler072da3e2018-01-18 07:21:42 -080094ReflowComments: true
Patrick Venture95269db2018-08-31 09:19:17 -070095SortIncludes: true
William A. Kennington III06da5622018-08-31 13:00:29 -070096SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080097SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050098SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080099SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -0500100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800103SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500104SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Patrick Williamsf289c652022-08-26 10:43:10 -0500112Standard: Latest
Andrew Geissler072da3e2018-01-18 07:21:42 -0800113TabWidth: 4
Patrick Williamsf289c652022-08-26 10:43:10 -0500114UseCRLF: false
Andrew Geissler072da3e2018-01-18 07:21:42 -0800115UseTab: Never
116...
117