11# BasedOnStyle: LLVM
22AccessModifierOffset : -3
33AlignAfterOpenBracket : Align
4- AlignConsecutiveAssignments : false
4+ AlignConsecutiveAssignments : None
55# 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
88AlignOperands : true
99AlignTrailingComments : true
1010AllowAllParametersOfDeclarationOnNextLine : true
11- AllowShortBlocksOnASingleLine : false
11+ AllowShortBlocksOnASingleLine : Never
1212AllowShortCaseLabelsOnASingleLine : true
1313AllowShortFunctionsOnASingleLine : Inline
1414AllowShortIfStatementsOnASingleLine : false
@@ -17,12 +17,12 @@ AllowShortLoopsOnASingleLine: false
1717# AlwaysBreakAfterDefinitionReturnType: None
1818AlwaysBreakAfterReturnType : None
1919AlwaysBreakBeforeMultilineStrings : false
20- AlwaysBreakTemplateDeclarations : true
20+ AlwaysBreakTemplateDeclarations : Yes
2121BinPackArguments : true
2222BinPackParameters : true
2323BraceWrapping :
2424 AfterClass : false
25- AfterControlStatement : false
25+ AfterControlStatement : Never
2626 AfterEnum : false
2727 AfterFunction : true
2828 AfterNamespace : false
@@ -32,7 +32,7 @@ BraceWrapping:
3232 BeforeCatch : false
3333 BeforeElse : false
3434 IndentBraces : false
35- BreakBeforeBinaryOperators : false
35+ BreakBeforeBinaryOperators : None
3636BreakBeforeBraces : Custom
3737BreakBeforeTernaryOperators : true
3838BreakConstructorInitializersBeforeComma : false
@@ -46,19 +46,6 @@ DerivePointerAlignment: false
4646DisableFormat : false
4747ExperimentalAutoDetectBinPacking : false
4848ForEachMacros : [ 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
6249IndentCaseLabels : false
6350IndentWidth : 3
6451IndentWrappedFunctionNames : false
@@ -77,8 +64,8 @@ PenaltyBreakString: 1000
7764PenaltyExcessCharacter : 1000000
7865PenaltyReturnTypeOnItsOwnLine : 10
7966PointerAlignment : Right
80- ReflowComments : true
81- SortIncludes : false
67+ ReflowComments : true
68+ SortIncludes : Never
8269SpaceAfterCStyleCast : false
8370SpaceBeforeAssignmentOperators : true
8471# You want this : enable it if you have https://reviews.llvm.org/D32525
@@ -91,14 +78,16 @@ SpacesInContainerLiterals: true
9178SpacesInCStyleCastParentheses : false
9279SpacesInParentheses : false
9380SpacesInSquareBrackets : false
94- Standard : Cpp11
81+ Standard : c++11
9582TabWidth : 3
9683UseTab : Never
9784
9885# Order alphabetically and by generality the included header files.
9986IncludeCategories :
10087 - Regex : ' ^"[^/]+\"'
10188 Priority : 10
89+ - Regex : ' ^("|<)T'
90+ Priority : 12
10291 - Regex : ' ^"ROOT/'
10392 Priority : 15
10493 - Regex : ' ^"cling/'
0 commit comments