]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - .clang-format
Set policies through CMake 3.9 to allow enabling IPO (#11560)
[dragonfireclient.git] / .clang-format
index 05a6b3385725603a0508671f4405cb2a8687d6b2..0db8ab1671aac78b3d93144dd666613cb9da52fd 100644 (file)
@@ -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,6 @@ IncludeCategories:
     Priority:        1
 AlignAfterOpenBracket: DontAlign
 ContinuationIndentWidth: 16
+ConstructorInitializerIndentWidth: 16
+BreakConstructorInitializers: AfterColon
+AlwaysBreakTemplateDeclarations: Yes