blob: 8c5278e6f61bd96a392e7dca59be58c82875565b [file] [log] [blame]
Gunnar Millsab4cc6a2018-09-14 14:42:39 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlinesLeft: false
9AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: true
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
24 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
32 BeforeCatch: true
33 BeforeElse: true
34 IndentBraces: false
35BreakBeforeBinaryOperators: None
36BreakBeforeBraces: Custom
37BreakBeforeTernaryOperators: true
38BreakConstructorInitializers: AfterColon
39ColumnLimit: 80
40CommentPragmas: '^ IWYU pragma:'
41ConstructorInitializerAllOnOneLineOrOnePerLine: false
42ConstructorInitializerIndentWidth: 4
43ContinuationIndentWidth: 4
44Cpp11BracedListStyle: true
45DerivePointerAlignment: false
46DisableFormat: false
47ExperimentalAutoDetectBinPacking: false
48FixNamespaceComments: true
49ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
50IncludeBlocks: Regroup
51IncludeCategories:
52 - Regex: '^[<"](gtest|gmock)'
53 Priority: 5
54 - Regex: '^"config.h"'
55 Priority: -1
56 - Regex: '^".*\.hpp"'
57 Priority: 1
58 - Regex: '^<.*\.h>'
59 Priority: 2
60 - Regex: '^<.*'
61 Priority: 3
62 - Regex: '.*'
63 Priority: 4
64IndentCaseLabels: true
65IndentWidth: 4
66IndentWrappedFunctionNames: true
67KeepEmptyLinesAtTheStartOfBlocks: true
68MacroBlockBegin: ''
69MacroBlockEnd: ''
70MaxEmptyLinesToKeep: 1
71NamespaceIndentation: None
72ObjCBlockIndentWidth: 2
73ObjCSpaceAfterProperty: false
74ObjCSpaceBeforeProtocolList: true
75PenaltyBreakBeforeFirstCallParameter: 19
76PenaltyBreakComment: 300
77PenaltyBreakFirstLessLess: 120
78PenaltyBreakString: 1000
79PenaltyExcessCharacter: 1000000
80PenaltyReturnTypeOnItsOwnLine: 60
81PointerAlignment: Left
82ReflowComments: true
83SortIncludes: true
84SortUsingDeclarations: true
85SpaceAfterCStyleCast: false
86SpaceBeforeAssignmentOperators: true
87SpaceBeforeParens: ControlStatements
88SpaceInEmptyParentheses: false
89SpacesBeforeTrailingComments: 1
90SpacesInAngles: false
91SpacesInContainerLiterals: true
92SpacesInCStyleCastParentheses: false
93SpacesInParentheses: false
94SpacesInSquareBrackets: false
95Standard: Cpp11
96TabWidth: 4
97UseTab: Never
98...