blob: 60ceb3cae7c35961d39b54cf0630e3fc124fc215 [file] [log] [blame]
Gunnar Mills57d9c502018-09-14 14:42:34 -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:
Manojkiran Edab6103f22020-05-28 09:45:01 +053024 AfterCaseLabel: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050025 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
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
82PointerAlignment: Left
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...