X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.clang-format;h=dc7380ffd8684caf6e550b221898ef944d47820a;hb=7499ebe46af072e911fa4902faf0a7343559d2c3;hp=05a6b3385725603a0508671f4405cb2a8687d6b2;hpb=be0663696514dd3d3525949be7c317c9eae9dbb0;p=dragonfireclient.git diff --git a/.clang-format b/.clang-format index 05a6b3385..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,10 +13,13 @@ 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 @@ -23,3 +27,5 @@ IncludeCategories: Priority: 1 AlignAfterOpenBracket: DontAlign ContinuationIndentWidth: 16 +ConstructorInitializerIndentWidth: 16 +BreakConstructorInitializers: AfterColon