aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-format13
1 files changed, 11 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 3e8e967..f04f624 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,6 +2,15 @@ BasedOnStyle: LLVM
IndentWidth: 8
TabWidth: 8
UseTab: Always
-BreakBeforeBraces: Linux
-AllowShortIfStatementsOnASingleLine: false
ColumnLimit: 80
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterFunction: true
+ AfterControlStatement: false
+ AfterEnum: false
+ AfterStruct: false
+ AfterUnion: false
+ BeforeElse: false
+AlwaysBreakAfterDefinitionReturnType: All
+SpaceBeforeParens: ControlStatements
+PointerAlignment: Right