-
Notifications
You must be signed in to change notification settings - Fork 14
/
.clang-format
38 lines (38 loc) · 1.02 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignArrayOfStructures: Left
AlignEscapedNewlines: DontAlign
AlignTrailingComments:
Kind: Never
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 120
ContinuationIndentWidth: 2
IndentCaseBlocks: true
IndentCaseLabels: true
IndentPPDirectives: AfterHash
IndentWidth: 4
InsertNewlineAtEOF: true
NamespaceIndentation: All
PackConstructorInitializers: CurrentLine
PointerAlignment: Left
#ReflowComments: false # for Doxygen
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 0
SpaceAfterTemplateKeyword: false
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: false
AfterForeachMacros: false
AfterIfMacros: false
#AfterPlacementOperator: false
SpaceBeforeRangeBasedForLoopColon: false
TabWidth: 4