blob: ea71ad6e15b48a524797342a089f1352ba674bcb [file] [log] [blame]
Patrick Venture33569752018-03-12 18:56:14 -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
Patrick Ventureb5754fd2018-09-10 13:13:58 -070020AlwaysBreakTemplateDeclarations: true
Patrick Venture33569752018-03-12 18:56:14 -070021BinPackArguments: 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
Patrick Ventureb5754fd2018-09-10 13:13:58 -070045DerivePointerAlignment: false
Patrick Venture33569752018-03-12 18:56:14 -070046PointerAlignment: Left
47DisableFormat: false
48ExperimentalAutoDetectBinPacking: false
49FixNamespaceComments: true
50ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Ventureb5754fd2018-09-10 13:13:58 -070051IncludeBlocks: 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
Patrick Venture33569752018-03-12 18:56:14 -070065IndentCaseLabels: true
66IndentWidth: 4
Patrick Ventureb5754fd2018-09-10 13:13:58 -070067IndentWrappedFunctionNames: true
Patrick Venture33569752018-03-12 18:56:14 -070068KeepEmptyLinesAtTheStartOfBlocks: 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
Patrick Venture33569752018-03-12 18:56:14 -070082ReflowComments: true
Patrick Ventureb5754fd2018-09-10 13:13:58 -070083SortIncludes: true
84SortUsingDeclarations: true
Patrick Venture33569752018-03-12 18:56:14 -070085SpaceAfterCStyleCast: 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...
99