blob: ae9ad396550e1071f02519a90b9ea3fe98748a5a [file] [log] [blame]
Jason M. Bills1490b142019-07-01 15:48:43 -07001---
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
46PointerAlignment: Left
47DisableFormat: false
48ExperimentalAutoDetectBinPacking: false
49FixNamespaceComments: true
50ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
51IncludeBlocks: Regroup
52IncludeCategories:
53 - Regex: '^[<"](gtest|gmock)'
54 Priority: 5
55 - Regex: '^"config.h"'
56 Priority: -1
57 - Regex: '^".*\.hpp"'
58 Priority: 1
59 - Regex: '^<.*\.h>'
60 Priority: 2
61 - Regex: '^<.*'
62 Priority: 3
63 - Regex: '.*'
64 Priority: 4
65IndentCaseLabels: true
66IndentWidth: 4
67IndentWrappedFunctionNames: true
68KeepEmptyLinesAtTheStartOfBlocks: true
69MacroBlockBegin: ''
70MacroBlockEnd: ''
71MaxEmptyLinesToKeep: 1
72NamespaceIndentation: None
73ObjCBlockIndentWidth: 2
74ObjCSpaceAfterProperty: false
75ObjCSpaceBeforeProtocolList: true
76PenaltyBreakBeforeFirstCallParameter: 19
77PenaltyBreakComment: 300
78PenaltyBreakFirstLessLess: 120
79PenaltyBreakString: 1000
80PenaltyExcessCharacter: 1000000
81PenaltyReturnTypeOnItsOwnLine: 60
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...