Browse Source

clang-format: add preferred rules for c++17 includes / namespaces

master
mogria 4 weeks ago
parent
commit
2ad49d2289
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      .clang-format

+ 5
- 3
.clang-format View File

@ -1,8 +1,9 @@
BasedOnStyle: LLVM
Language: Cpp
Standard: c++11
Standard: c++17
DerivePointerAlignment: true
SortIncludes: Never
SortIncludes: CaseSensitive
IncludeBlocks: Preserve
ReflowComments: false
PointerAlignment: Left
AlignAfterOpenBracket: AlwaysBreak
@ -42,4 +43,5 @@ AllowShortBlocksOnASingleLine: Always
IndentPPDirectives: BeforeHash
IndentExternBlock: Indent
Cpp11BracedListStyle: false
BreakStringLiterals: false
BreakStringLiterals: false
FixNamespaceComments: true

Loading…
Cancel
Save