1
1
# BasedOnStyle: LLVM
2
2
AccessModifierOffset : -3
3
3
AlignAfterOpenBracket : Align
4
- AlignConsecutiveAssignments : false
4
+ AlignConsecutiveAssignments : None
5
5
# This would be nice to have but seems to also (mis)align function parameters
6
- AlignConsecutiveDeclarations : false
7
- AlignEscapedNewlinesLeft : true
6
+ AlignConsecutiveDeclarations : None
7
+ AlignEscapedNewlines : Left
8
8
AlignOperands : true
9
9
AlignTrailingComments : true
10
10
AllowAllParametersOfDeclarationOnNextLine : true
11
- AllowShortBlocksOnASingleLine : false
11
+ AllowShortBlocksOnASingleLine : Never
12
12
AllowShortCaseLabelsOnASingleLine : true
13
13
AllowShortFunctionsOnASingleLine : Inline
14
14
AllowShortIfStatementsOnASingleLine : false
@@ -17,12 +17,12 @@ AllowShortLoopsOnASingleLine: false
17
17
# AlwaysBreakAfterDefinitionReturnType: None
18
18
AlwaysBreakAfterReturnType : None
19
19
AlwaysBreakBeforeMultilineStrings : false
20
- AlwaysBreakTemplateDeclarations : true
20
+ AlwaysBreakTemplateDeclarations : Yes
21
21
BinPackArguments : true
22
22
BinPackParameters : true
23
23
BraceWrapping :
24
24
AfterClass : false
25
- AfterControlStatement : false
25
+ AfterControlStatement : Never
26
26
AfterEnum : false
27
27
AfterFunction : true
28
28
AfterNamespace : false
@@ -32,7 +32,7 @@ BraceWrapping:
32
32
BeforeCatch : false
33
33
BeforeElse : false
34
34
IndentBraces : false
35
- BreakBeforeBinaryOperators : false
35
+ BreakBeforeBinaryOperators : None
36
36
BreakBeforeBraces : Custom
37
37
BreakBeforeTernaryOperators : true
38
38
BreakConstructorInitializersBeforeComma : false
@@ -46,19 +46,6 @@ DerivePointerAlignment: false
46
46
DisableFormat : false
47
47
ExperimentalAutoDetectBinPacking : false
48
48
ForEachMacros : [ foreach, Q_FOREACH, BOOST_FOREACH ]
49
- IncludeCategories :
50
- - Regex : ' ^("|<)T'
51
- Priority : 4
52
- - Regex : ' ^("|<)ROOT/'
53
- Priority : 5
54
- - Regex : ' ^<.*\.h>'
55
- Priority : 1
56
- - Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
57
- Priority : 2
58
- - Regex : ' ^(<|"(gtest|isl|json)/)'
59
- Priority : 3
60
- - Regex : ' .*'
61
- Priority : 6
62
49
IndentCaseLabels : false
63
50
IndentWidth : 3
64
51
IndentWrappedFunctionNames : false
@@ -77,8 +64,8 @@ PenaltyBreakString: 1000
77
64
PenaltyExcessCharacter : 1000000
78
65
PenaltyReturnTypeOnItsOwnLine : 10
79
66
PointerAlignment : Right
80
- ReflowComments : true
81
- SortIncludes : false
67
+ ReflowComments : true
68
+ SortIncludes : Never
82
69
SpaceAfterCStyleCast : false
83
70
SpaceBeforeAssignmentOperators : true
84
71
# You want this : enable it if you have https://reviews.llvm.org/D32525
@@ -91,14 +78,16 @@ SpacesInContainerLiterals: true
91
78
SpacesInCStyleCastParentheses : false
92
79
SpacesInParentheses : false
93
80
SpacesInSquareBrackets : false
94
- Standard : Cpp11
81
+ Standard : c++11
95
82
TabWidth : 3
96
83
UseTab : Never
97
84
98
85
# Order alphabetically and by generality the included header files.
99
86
IncludeCategories :
100
87
- Regex : ' ^"[^/]+\"'
101
88
Priority : 10
89
+ - Regex : ' ^("|<)T'
90
+ Priority : 12
102
91
- Regex : ' ^"ROOT/'
103
92
Priority : 15
104
93
- Regex : ' ^"cling/'
0 commit comments