]> git.lizzy.rs Git - minetest.git/blobdiff - .clang-format
client.cpp: modernize code
[minetest.git] / .clang-format
index 05a6b3385725603a0508671f4405cb2a8687d6b2..f1d51a04fa78146c2790e3c613d73bf53477eeeb 100644 (file)
@@ -2,6 +2,7 @@ BasedOnStyle: LLVM
 IndentWidth: 8
 UseTab: Always
 BreakBeforeBraces: Custom
+Standard: Cpp11
 BraceWrapping:
   AfterClass: true
   AfterControlStatement: false
@@ -16,6 +17,8 @@ AllowShortIfStatementsOnASingleLine: false
 IndentCaseLabels: false
 AccessModifierOffset: -8
 ColumnLimit: 90
+AllowShortFunctionsOnASingleLine: Inline
+SortIncludes: false
 IncludeCategories:
   - Regex:           '^".*'
     Priority:        2