blob: 44865d0937eb88ca2d84039df14668d504e78f32 [file] [log] [blame]
Matt Spinlerf0f02b92018-10-25 16:12:43 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -06008AlignEscapedNewlines: Right
Matt Spinlerf0f02b92018-10-25 16:12:43 -05009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060019AlwaysBreakTemplateDeclarations: Yes
Matt Spinlerf0f02b92018-10-25 16:12:43 -050020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Shawn McCarney06a905d2020-05-26 12:59:15 -050023 AfterCaseLabel: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060032 AfterExternBlock: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060036 SplitEmptyFunction: true
37 SplitEmptyRecord: true
38 SplitEmptyNamespace: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060047CompactNamespaces: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
52DerivePointerAlignment: false
53PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
58IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060061 Priority: 7
Matt Spinlerf0f02b92018-10-25 16:12:43 -050062 - Regex: '^"config.h"'
63 Priority: -1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060064 - Regex: '^".*\.h"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050065 Priority: 1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060066 - Regex: '^".*\.hpp"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050067 Priority: 2
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060068 - Regex: '^<.*\.h>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050069 Priority: 3
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060070 - Regex: '^<.*\.hpp>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050071 Priority: 4
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Matt Spinlerf0f02b92018-10-25 16:12:43 -050076IndentCaseLabels: true
77IndentWidth: 4
78IndentWrappedFunctionNames: true
79KeepEmptyLinesAtTheStartOfBlocks: 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
93ReflowComments: true
94SortIncludes: true
95SortUsingDeclarations: true
96SpaceAfterCStyleCast: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060097SpaceAfterTemplateKeyword: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050098SpaceBeforeAssignmentOperators: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500102SpaceBeforeParens: ControlStatements
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600103SpaceBeforeRangeBasedForLoopColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
111Standard: Cpp11
112TabWidth: 4
113UseTab: Never
114...