blob: 692faa26ba3e14349ff0f8b541ba72cce0f241d1 [file] [log] [blame]
Vernon Mauery9e801a22018-10-12 13:20:49 -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:
Vernon Mauery5b114ed2020-05-29 14:21:17 -070024 AfterCaseLabel: true
Vernon Mauery9e801a22018-10-12 13:20:49 -070025 AfterClass: true
26 AfterControlStatement: true
27 AfterEnum: true
28 AfterFunction: true
29 AfterNamespace: true
30 AfterObjCDeclaration: true
31 AfterStruct: true
32 AfterUnion: true
33 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
36BreakBeforeBinaryOperators: None
37BreakBeforeBraces: Custom
38BreakBeforeTernaryOperators: true
39BreakConstructorInitializers: AfterColon
40ColumnLimit: 80
41CommentPragmas: '^ IWYU pragma:'
42ConstructorInitializerAllOnOneLineOrOnePerLine: false
43ConstructorInitializerIndentWidth: 4
44ContinuationIndentWidth: 4
45Cpp11BracedListStyle: true
46DerivePointerAlignment: false
47PointerAlignment: Left
48DisableFormat: false
49ExperimentalAutoDetectBinPacking: false
50FixNamespaceComments: true
51ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
52IncludeBlocks: Regroup
53IncludeCategories:
54 - Regex: '^[<"](gtest|gmock)'
55 Priority: 5
56 - Regex: '^"config.h"'
57 Priority: -1
58 - Regex: '^".*\.hpp"'
59 Priority: 1
60 - Regex: '^<.*\.h>'
61 Priority: 2
62 - Regex: '^<.*'
63 Priority: 3
64 - Regex: '.*'
65 Priority: 4
66IndentCaseLabels: true
67IndentWidth: 4
68IndentWrappedFunctionNames: true
69KeepEmptyLinesAtTheStartOfBlocks: true
70MacroBlockBegin: ''
71MacroBlockEnd: ''
72MaxEmptyLinesToKeep: 1
73NamespaceIndentation: None
74ObjCBlockIndentWidth: 2
75ObjCSpaceAfterProperty: false
76ObjCSpaceBeforeProtocolList: true
77PenaltyBreakBeforeFirstCallParameter: 19
78PenaltyBreakComment: 300
79PenaltyBreakFirstLessLess: 120
80PenaltyBreakString: 1000
81PenaltyExcessCharacter: 1000000
82PenaltyReturnTypeOnItsOwnLine: 60
83ReflowComments: true
84SortIncludes: true
85SortUsingDeclarations: true
86SpaceAfterCStyleCast: false
87SpaceBeforeAssignmentOperators: true
88SpaceBeforeParens: ControlStatements
89SpaceInEmptyParentheses: false
90SpacesBeforeTrailingComments: 1
91SpacesInAngles: false
92SpacesInContainerLiterals: true
93SpacesInCStyleCastParentheses: false
94SpacesInParentheses: false
95SpacesInSquareBrackets: false
96Standard: Cpp11
97TabWidth: 4
98UseTab: Never
99...
100