Xinqi Bao's Git
projects
/
dotfiles.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
d9d9c8a
)
clang-format: update
author
Xinqi Bao <
[email protected]
>
Tue, 14 Dec 2021 05:17:53 +0000
(13:17 +0800)
committer
Xinqi Bao <
[email protected]
>
Tue, 14 Dec 2021 05:17:53 +0000
(13:17 +0800)
.clang-format
patch
|
blob
|
history
diff --git
a/.clang-format
b/.clang-format
index
94d2231
..
d1f7671
100644
(file)
--- a/
.clang-format
+++ b/
.clang-format
@@
-41,8
+41,8
@@
BraceWrapping:
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
-BreakBeforeBinaryOperators:
None
-BreakBeforeBraces: A
llman
+BreakBeforeBinaryOperators:
All
+BreakBeforeBraces: A
ttach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
@@
-50,7
+50,7
@@
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
-ColumnLimit:
8
0
+ColumnLimit:
12
0
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
@@
-76,7
+76,7
@@
IncludeCategories:
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
-IndentCaseLabels:
fals
e
+IndentCaseLabels:
tru
e
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false