]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - .clang-format
Docs: clarify spawn_by for decorations
[dragonfireclient.git] / .clang-format
index 63d884a0952ef61b940c36fc099444a7a9edc57a..63f12b6c42adefca9fe9a5d7e5b34360ae79e018 100644 (file)
@@ -1,7 +1,9 @@
 BasedOnStyle: LLVM
-IndentWidth: 8
+IndentWidth: 4
 UseTab: Always
+TabWidth: 4
 BreakBeforeBraces: Custom
+Standard: Cpp11
 BraceWrapping:
   AfterClass: true
   AfterControlStatement: false
@@ -12,12 +14,20 @@ BraceWrapping:
   AfterUnion: true
   BeforeCatch: false
   BeforeElse: false
+FixNamespaceComments: false
 AllowShortIfStatementsOnASingleLine: false
 IndentCaseLabels: false
-AccessModifierOffset: -8
+AccessModifierOffset: -4
 ColumnLimit: 90
+AllowShortFunctionsOnASingleLine: InlineOnly
+SortIncludes: false
 IncludeCategories:
   - Regex:           '^".*'
     Priority:        2
   - Regex:           '^<.*'
     Priority:        1
+AlignAfterOpenBracket: DontAlign
+ContinuationIndentWidth: 8
+ConstructorInitializerIndentWidth: 8
+BreakConstructorInitializers: AfterColon
+AlwaysBreakTemplateDeclarations: Yes