Skip to content

Commit 377d3c3

Browse files
author
David Goodwin
committedNov 9, 2020
Restore .clang-format
1 parent c6bab91 commit 377d3c3

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
 

‎.clang-format

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
BasedOnStyle: Google
3+
4+
IndentWidth: 2
5+
ContinuationIndentWidth: 4
6+
UseTab: Never
7+
MaxEmptyLinesToKeep: 2
8+
9+
SortIncludes: true
10+
CompactNamespaces: true
11+
ReflowComments: true
12+
13+
DerivePointerAlignment: false
14+
PointerAlignment: Left
15+
16+
AllowShortIfStatementsOnASingleLine: false
17+
AllowShortBlocksOnASingleLine: false
18+
AllowShortFunctionsOnASingleLine: Inline
19+
20+
AlwaysBreakAfterReturnType: TopLevelDefinitions
21+
AlignAfterOpenBracket: AlwaysBreak
22+
BreakBeforeBraces: Custom
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: true
28+
AfterNamespace: false
29+
AfterStruct: false
30+
AfterUnion: false
31+
BeforeCatch: true
32+
33+
BinPackArguments: true
34+
BinPackParameters: true
35+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
36+
37+
IndentCaseLabels: true

0 commit comments

Comments
 (0)
Please sign in to comment.