clang-format: tune format after discussion

Use custom brace setup. So union/struct/class all behave the same.

Fix typo on 3rdparty
This commit is contained in:
Gregory Hainaut 2016-08-24 21:23:00 +02:00
parent 16f12bcfa5
commit 18941f1b80
2 changed files with 14 additions and 2 deletions

View File

@ -19,8 +19,20 @@ AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Linux
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0

View File

@ -45,7 +45,7 @@ files=`git diff $diff_range --name-only --diff-filter=ACMRT | \
grep -v "${1}plugins/zzogl-pg/" | \
\
grep -v "/resource.h" | \
grep -v "3rdpary/" | \
grep -v "3rdparty/" | \
grep -v "bin/" | \
grep -v "cmake/" | \
grep -v "tools/" | \