Skip to content

Commit 6d9e0b5

Browse files
committed
Add .clang-format file
1 parent 5d13356 commit 6d9e0b5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.clang-format

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
BasedOnStyle: Google
3+
Language: Cpp
4+
Standard: Cpp03
5+
TabWidth: 4
6+
UseTab: Never
7+
ColumnLimit: 120
8+
NamespaceIndentation: All
9+
10+
AccessModifierOffset: -4
11+
ContinuationIndentWidth: 4
12+
IndentWidth: 4
13+
14+
BreakBeforeBraces: Custom
15+
BraceWrapping:
16+
AfterStruct: true
17+
AfterClass: true
18+
AfterFunction: true
19+
AfterControlStatement: false
20+
AfterEnum: true
21+
AfterNamespace: true
22+
23+
AllowShortFunctionsOnASingleLine: None
24+
AllowShortBlocksOnASingleLine: false
25+
AllowShortIfStatementsOnASingleLine: false
26+
AllowShortLoopsOnASingleLine: false
27+
28+
...

0 commit comments

Comments
 (0)