-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy path_clang-format
More file actions
57 lines (54 loc) · 1.5 KB
/
_clang-format
File metadata and controls
57 lines (54 loc) · 1.5 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
BraceWrapping:
AfterEnum: true
AfterStruct: true
SplitEmptyFunction: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
BeforeElse: true
BeforeLambdaBody: true
AfterControlStatement: true
AfterClass: true
AfterCaseLabel: true
AfterExternBlock: true
IndentBraces: false
SpacesInLineCommentPrefix:
Minimum: 0
Maximum: -1
#AlignArrayOfStructures: None
#BracedInitializerIndentWidth: true
#CommentPragmas: '^[^ ]'
AlignEscapedNewlines: DontAlign
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLambdasOnASingleLine: None
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
BasedOnStyle: Webkit
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: false
DerivePointerAlignment: false
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
IndentExternBlock: NoIndent
IndentWidth: 4
InsertBraces: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
NamespaceIndentation: None
PointerAlignment: Left
ReferenceAlignment: Left
RemoveSemicolon: true
SeparateDefinitionBlocks: Leave
SpaceBeforeCpp11BracedList: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 4
SpacesInContainerLiterals: false
UseTab: Never