-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy path.clang-format
More file actions
36 lines (32 loc) · 872 Bytes
/
Copy path.clang-format
File metadata and controls
36 lines (32 loc) · 872 Bytes
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
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
ColumnLimit: 80
BreakBeforeBraces: Custom
BraceWrapping:
AfterNamespace: true
AfterFunction: true
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
PointerAlignment: Right
SpaceBeforeAssignmentOperators: true
NamespaceIndentation: All
IndentAccessModifiers: false
AccessModifierOffset: -4
Cpp11BracedListStyle: false
# Split constructor initializers to one per line, and put the brace on its own line
BreakConstructorInitializers: BeforeComma
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
AllowShortFunctionsOnASingleLine: None