Skip to content

Commit 9cda644

Browse files
committed
add clang-format config
1 parent 07c40db commit 9cda644

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.clang-format

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: WebKit
4+
5+
BreakBeforeBraces: Linux
6+
ColumnLimit: 140
7+
IndentWidth: 4
8+
Standard: Cpp11
9+
AllowShortBlocksOnASingleLine: false
10+
AllowShortFunctionsOnASingleLine: false
11+
AlwaysBreakTemplateDeclarations: true
12+
AlwaysBreakAfterReturnType: TopLevelDefinitions
13+
BinPackParameters: false
14+
SortIncludes: false
15+
Cpp11BracedListStyle: true
16+
17+
---
18+
Language: Proto
19+
DisableFormat: true

0 commit comments

Comments
 (0)