Skip to content

Commit 0046c4f

Browse files
committed
Fix clang-format, remove useless states, update style according to used ones
1 parent b6737d8 commit 0046c4f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.clang-format

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
BasedOnStyle: Google
22
AccessModifierOffset: -1
33
ConstructorInitializerIndentWidth: 4
4-
AlignEscapedNewlinesLeft: true
54
AlignTrailingComments: true
65
AllowAllParametersOfDeclarationOnNextLine: true
76
AllowShortIfStatementsOnASingleLine: true
@@ -13,7 +12,7 @@ BreakConstructorInitializersBeforeComma: false
1312
BinPackParameters: true
1413
ColumnLimit: 80
1514
ConstructorInitializerAllOnOneLineOrOnePerLine: true
16-
DerivePointerBinding: true
15+
DerivePointerAlignment: false
1716
ExperimentalAutoDetectBinPacking: false
1817
IndentCaseLabels: true
1918
MaxEmptyLinesToKeep: 1
@@ -23,16 +22,15 @@ PenaltyBreakString: 1000
2322
PenaltyBreakFirstLessLess: 120
2423
PenaltyExcessCharacter: 1000000
2524
PenaltyReturnTypeOnItsOwnLine: 200
26-
PointerBindsToType: true
25+
PointerAlignment: Right
2726
SpacesBeforeTrailingComments: 2
2827
Cpp11BracedListStyle: true
2928
Standard: Auto
3029
IndentWidth: 2
3130
TabWidth: 4
3231
UseTab: false
3332
BreakBeforeBraces: Attach
34-
IndentFunctionDeclarationAfterType: true
33+
SortIncludes: false
3534
SpacesInParentheses: false
3635
SpaceInEmptyParentheses: false
3736
SpacesInCStyleCastParentheses: false
38-
SpaceAfterControlStatementKeyword: true

0 commit comments

Comments
 (0)