blob: ef6f54e27aa9b2daf7ad0d38201131009321799a [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
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: 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
44BreakStringLiterals: true
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
William A. Kennington IIIe0d69652018-08-31 13:09:47 -070052DerivePointerAlignment: false
Andrew Geissler072da3e2018-01-18 07:21:42 -080053PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venture95269db2018-08-31 09:19:17 -070058IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
Patrick Williams127b8ab2020-05-21 15:24:19 -050061 Priority: 7
Patrick Venture95269db2018-08-31 09:19:17 -070062 - Regex: '^"config.h"'
63 Priority: -1
Patrick Williams127b8ab2020-05-21 15:24:19 -050064 - Regex: '^".*\.h"'
Patrick Venture95269db2018-08-31 09:19:17 -070065 Priority: 1
Patrick Williams127b8ab2020-05-21 15:24:19 -050066 - Regex: '^".*\.hpp"'
Patrick Venture95269db2018-08-31 09:19:17 -070067 Priority: 2
Patrick Williams127b8ab2020-05-21 15:24:19 -050068 - Regex: '^<.*\.h>'
Patrick Venture95269db2018-08-31 09:19:17 -070069 Priority: 3
Patrick Williams127b8ab2020-05-21 15:24:19 -050070 - Regex: '^<.*\.hpp>'
Patrick Venture95269db2018-08-31 09:19:17 -070071 Priority: 4
Patrick Williams127b8ab2020-05-21 15:24:19 -050072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Andrew Geissler072da3e2018-01-18 07:21:42 -080076IndentCaseLabels: true
77IndentWidth: 4
Adriana Kobylakf9c02db2018-02-28 13:28:54 -060078IndentWrappedFunctionNames: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080079KeepEmptyLinesAtTheStartOfBlocks: true
80MacroBlockBegin: ''
81MacroBlockEnd: ''
82MaxEmptyLinesToKeep: 1
83NamespaceIndentation: None
84ObjCBlockIndentWidth: 2
85ObjCSpaceAfterProperty: false
86ObjCSpaceBeforeProtocolList: true
87PenaltyBreakBeforeFirstCallParameter: 19
88PenaltyBreakComment: 300
89PenaltyBreakFirstLessLess: 120
90PenaltyBreakString: 1000
91PenaltyExcessCharacter: 1000000
92PenaltyReturnTypeOnItsOwnLine: 60
Andrew Geissler072da3e2018-01-18 07:21:42 -080093ReflowComments: true
Patrick Venture95269db2018-08-31 09:19:17 -070094SortIncludes: true
William A. Kennington III06da5622018-08-31 13:00:29 -070095SortUsingDeclarations: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080096SpaceAfterCStyleCast: false
Patrick Williams127b8ab2020-05-21 15:24:19 -050097SpaceAfterTemplateKeyword: true
Andrew Geissler072da3e2018-01-18 07:21:42 -080098SpaceBeforeAssignmentOperators: true
Patrick Williams127b8ab2020-05-21 15:24:19 -050099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800102SpaceBeforeParens: ControlStatements
Patrick Williams127b8ab2020-05-21 15:24:19 -0500103SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler072da3e2018-01-18 07:21:42 -0800104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
111Standard: Cpp11
112TabWidth: 4
113UseTab: Never
114...
115