projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ce9c9
)
Clang format brace style fix
author
Loïc Blot
<loic.blot@unix-experience.fr>
Thu, 6 Apr 2017 13:27:47 +0000
(15:27 +0200)
committer
Loïc Blot
<loic.blot@unix-experience.fr>
Thu, 6 Apr 2017 13:27:47 +0000
(15:27 +0200)
.clang-format
patch
|
blob
|
history
diff --git
a/.clang-format
b/.clang-format
index 547df6a9501467c3223f56d8071a158fac51f639..63d884a0952ef61b940c36fc099444a7a9edc57a 100644
(file)
--- a/
.clang-format
+++ b/
.clang-format
@@
-1,7
+1,17
@@
BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
-BreakBeforeBraces: Linux
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterClass: true
+ AfterControlStatement: false
+ AfterEnum: true
+ AfterFunction: true
+ AfterNamespace: true
+ AfterStruct: true
+ AfterUnion: true
+ BeforeCatch: false
+ BeforeElse: false
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AccessModifierOffset: -8