diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index f7f31ac..b37ca62 100644 --- a/.clang-format +++ b/.clang-format @@ -12,8 +12,24 @@ AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false BinPackArguments: true BinPackParameters: true +BraceWrapping: + AfterClass: false + AfterControlStatement: false + AfterEnum: false + AfterFunction: true + AfterNamespace: true + AfterObjCDeclaration: false + AfterStruct: false + AfterUnion: false + AfterExternBlock: false + BeforeCatch: false + BeforeElse: false + IndentBraces: false + SplitEmptyFunction: true + SplitEmptyRecord: true + SplitEmptyNamespace: true BreakBeforeBinaryOperators: NonAssignment -BreakBeforeBraces: Attach +BreakBeforeBraces: Custom BreakBeforeTernaryOperators: true ColumnLimit: 100 ContinuationIndentWidth: 4 |