X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.clang-format;h=dc7380ffd8684caf6e550b221898ef944d47820a;hb=f9c6324666939a349935411a4ad540768215bdaa;hp=63d884a0952ef61b940c36fc099444a7a9edc57a;hpb=00138a52d892b6f07d6f6d70c27bb9c61ee191c3;p=dragonfireclient.git diff --git a/.clang-format b/.clang-format index 63d884a09..dc7380ffd 100644 --- a/.clang-format +++ b/.clang-format @@ -2,6 +2,7 @@ BasedOnStyle: LLVM IndentWidth: 8 UseTab: Always BreakBeforeBraces: Custom +Standard: Cpp11 BraceWrapping: AfterClass: true AfterControlStatement: false @@ -12,12 +13,19 @@ BraceWrapping: AfterUnion: true BeforeCatch: false BeforeElse: false +FixNamespaceComments: false AllowShortIfStatementsOnASingleLine: false IndentCaseLabels: false AccessModifierOffset: -8 ColumnLimit: 90 +AllowShortFunctionsOnASingleLine: InlineOnly +SortIncludes: false IncludeCategories: - Regex: '^".*' Priority: 2 - Regex: '^<.*' Priority: 1 +AlignAfterOpenBracket: DontAlign +ContinuationIndentWidth: 16 +ConstructorInitializerIndentWidth: 16 +BreakConstructorInitializers: AfterColon