-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
52 lines (48 loc) · 1.31 KB
/
Copy path.clang-format
File metadata and controls
52 lines (48 loc) · 1.31 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
BasedOnStyle: Google
DerivePointerAlignment: false
AlignArrayOfStructures: Right
#AlignAfterOpenBracket: Align
#AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
#AlignConsecutiveDeclarations: AcrossEmptyLinesAndComments
PointerAlignment: Left
IndentWidth: 4
ColumnLimit: 120
UseTab: Never
AccessModifierOffset: -4
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseColons: false
AlignEscapedNewlines: Right
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterClass: false
AfterStruct: false
AfterControlStatement: false
AfterFunction: false
AfterNamespace: false
SplitEmptyFunction: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentCaseLabels: false
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
FixNamespaceComments: true
IncludeBlocks: Regroup
SortIncludes: true
IncludeCategories:
- Regex: '^<[^/]*>$'
Priority: 1
- Regex: '^(<|"(absl|function2|gtest|gmock|benchmark|boost)/)'
Priority: 2