blob: 2806478ff4f68fab40e05c041734d1dcb774ef0c [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:
23 AfterClass: true
24 AfterControlStatement: true
25 AfterEnum: true
26 AfterFunction: true
27 AfterNamespace: true
28 AfterObjCDeclaration: true
29 AfterStruct: true
30 AfterUnion: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060031 AfterExternBlock: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050032 BeforeCatch: true
33 BeforeElse: true
34 IndentBraces: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060035 SplitEmptyFunction: true
36 SplitEmptyRecord: true
37 SplitEmptyNamespace: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050038BreakBeforeBinaryOperators: None
39BreakBeforeBraces: Custom
40BreakBeforeTernaryOperators: true
41BreakConstructorInitializers: AfterColon
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060042BreakInheritanceList: AfterColon
43BreakStringLiterals: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050044ColumnLimit: 80
45CommentPragmas: '^ IWYU pragma:'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060046CompactNamespaces: false
Matt Spinlerf0f02b92018-10-25 16:12:43 -050047ConstructorInitializerAllOnOneLineOrOnePerLine: false
48ConstructorInitializerIndentWidth: 4
49ContinuationIndentWidth: 4
50Cpp11BracedListStyle: true
51DerivePointerAlignment: false
52PointerAlignment: Left
53DisableFormat: false
54ExperimentalAutoDetectBinPacking: false
55FixNamespaceComments: true
56ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
57IncludeBlocks: Regroup
58IncludeCategories:
59 - Regex: '^[<"](gtest|gmock)'
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060060 Priority: 7
Matt Spinlerf0f02b92018-10-25 16:12:43 -050061 - Regex: '^"config.h"'
62 Priority: -1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060063 - Regex: '^".*\.h"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050064 Priority: 1
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060065 - Regex: '^".*\.hpp"'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050066 Priority: 2
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060067 - Regex: '^<.*\.h>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050068 Priority: 3
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060069 - Regex: '^<.*\.hpp>'
Matt Spinlerf0f02b92018-10-25 16:12:43 -050070 Priority: 4
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060071 - Regex: '^<.*'
72 Priority: 5
73 - Regex: '.*'
74 Priority: 6
Matt Spinlerf0f02b92018-10-25 16:12:43 -050075IndentCaseLabels: true
76IndentWidth: 4
77IndentWrappedFunctionNames: true
78KeepEmptyLinesAtTheStartOfBlocks: true
79MacroBlockBegin: ''
80MacroBlockEnd: ''
81MaxEmptyLinesToKeep: 1
82NamespaceIndentation: None
83ObjCBlockIndentWidth: 2
84ObjCSpaceAfterProperty: false
85ObjCSpaceBeforeProtocolList: true
86PenaltyBreakBeforeFirstCallParameter: 19
87PenaltyBreakComment: 300
88PenaltyBreakFirstLessLess: 120
89PenaltyBreakString: 1000
90PenaltyExcessCharacter: 1000000
91PenaltyReturnTypeOnItsOwnLine: 60
92ReflowComments: true
93SortIncludes: true
94SortUsingDeclarations: true
95SpaceAfterCStyleCast: false
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060096SpaceAfterTemplateKeyword: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -050097SpaceBeforeAssignmentOperators: true
Brandon Wymand1bc4ce2019-12-13 14:20:34 -060098SpaceBeforeCpp11BracedList: false
99SpaceBeforeCtorInitializerColon: true
100SpaceBeforeInheritanceColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500101SpaceBeforeParens: ControlStatements
Brandon Wymand1bc4ce2019-12-13 14:20:34 -0600102SpaceBeforeRangeBasedForLoopColon: true
Matt Spinlerf0f02b92018-10-25 16:12:43 -0500103SpaceInEmptyParentheses: false
104SpacesBeforeTrailingComments: 1
105SpacesInAngles: false
106SpacesInContainerLiterals: true
107SpacesInCStyleCastParentheses: false
108SpacesInParentheses: false
109SpacesInSquareBrackets: false
110Standard: Cpp11
111TabWidth: 4
112UseTab: Never
113...