-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
18 lines (18 loc) · 1.1 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
Language: Cpp
BasedOnStyle: LLVM
AlwaysBreakTemplateDeclarations: Yes # Changed from Multiline
BinPackArguments: false # Changed from true
BinPackParameters: false # Changed from true
BreakInheritanceList: AfterColon # Changed from BeforeColon
BreakConstructorInitializers: AfterColon # Changed from BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true # Changed from false
SortIncludes: false # Changed from true - TRY to make it true, might not work
SortUsingDeclarations: false # Changed from true - TRY to make it true, might not work
PointerAlignment: Left # Changed from Right
BreakBeforeBraces: Mozilla # Changed to break after class/struct/function/..., but not after statement (if/while/for)
PenaltyReturnTypeOnItsOwnLine: 1000 # Changed from 60 to avoid break after return type
AllowAllArgumentsOnNextLine: false # Changed to avoid all call arguments on next line
AllowAllParametersOfDeclarationOnNextLine: false # Changed to avoid all function parameters on next line
#Standard: c++14 # This should validate the input to c++14 standard, but it is not supported in clang-9. For future use.
...