Skip to content

Commit 6a98b11

Browse files
committed
only use allowed values in .clang-format
1 parent 370ff2a commit 6a98b11

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.clang-format

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ Language: Cpp
33
# BasedOnStyle: Google
44
AccessModifierOffset: -4
55
AlignAfterOpenBracket: Align
6-
AlignConsecutiveAssignments: false
7-
AlignConsecutiveDeclarations: false
6+
AlignConsecutiveAssignments: None
7+
AlignConsecutiveDeclarations: None
88
AlignEscapedNewlines: Left
99
AlignOperands: true
1010
AlignTrailingComments: true
1111
AllowAllParametersOfDeclarationOnNextLine: true
12-
AllowShortBlocksOnASingleLine: false
12+
AllowShortBlocksOnASingleLine: Never
1313
AllowShortCaseLabelsOnASingleLine: false
1414
AllowShortFunctionsOnASingleLine: All
1515
AllowShortIfStatementsOnASingleLine: true
1616
AllowShortLoopsOnASingleLine: true
1717
AlwaysBreakAfterDefinitionReturnType: None
1818
AlwaysBreakAfterReturnType: None
1919
AlwaysBreakBeforeMultilineStrings: true
20-
AlwaysBreakTemplateDeclarations: true
20+
AlwaysBreakTemplateDeclarations: Yes
2121
BinPackArguments: true
2222
BinPackParameters: true
2323
BraceWrapping:
2424
AfterClass: false
25-
AfterControlStatement: false
25+
AfterControlStatement: Never
2626
AfterEnum: false
2727
AfterFunction: true
2828
AfterNamespace: false
@@ -88,7 +88,7 @@ PenaltyExcessCharacter: 1000000
8888
PenaltyReturnTypeOnItsOwnLine: 200
8989
PointerAlignment: Left
9090
ReflowComments: true
91-
SortIncludes: true
91+
SortIncludes: CaseInsensitive
9292
SortUsingDeclarations: true
9393
SpaceAfterCStyleCast: false
9494
SpaceAfterTemplateKeyword: true
@@ -101,7 +101,7 @@ SpacesInContainerLiterals: true
101101
SpacesInCStyleCastParentheses: false
102102
SpacesInParentheses: false
103103
SpacesInSquareBrackets: false
104-
Standard: Cpp11
104+
Standard: c++14
105105
TabWidth: 8
106106
UseTab: Never
107107
...

0 commit comments

Comments
 (0)