From: Loïc Blot Date: Thu, 6 Apr 2017 13:27:47 +0000 (+0200) Subject: Clang format brace style fix X-Git-Tag: 0.4.16~290 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=00138a52d892b6f07d6f6d70c27bb9c61ee191c3;p=oweals%2Fminetest.git Clang format brace style fix --- 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