mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-11 22:49:56 +00:00
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:
+13
-1
@@ -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
|
||||
|
||||
@@ -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/" | \
|
||||
|
||||
Reference in New Issue
Block a user