aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 11 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 547df6a95..63d884a09 100644
--- 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