Xinqi Bao's Git
projects
/
dotfiles.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
vimrc bashrc: config minor updated
[dotfiles.git]
/
.clang-format
diff --git
a/.clang-format
b/.clang-format
index
94d2231
..
32b5af2
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
@@
-67,16
+67,16
@@
ForEachMacros:
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- - Regex: '^<ext/.*\.h>'
- Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- - Regex: '
.*
'
+ - Regex: '
^"common/.*"
'
Priority: 3
Priority: 3
+ - Regex: '.*'
+ Priority: 4
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainRegex: '([-_](test|unittest))?$'
-IndentCaseLabels:
fals
e
+IndentCaseLabels:
tru
e
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false