Skip to content

Commit 83c1dd6

Browse files
author
Pierre-Luc Gagné
committed
Add clang-format
1 parent cb292db commit 83c1dd6

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.clang-format

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
IndentWidth: 4
5+
TabWidth: 4
6+
UseTab: Never
7+
ColumnLimit: 120
8+
AccessModifierOffset: -4
9+
AllowShortBlocksOnASingleLine: false
10+
AllowShortFunctionsOnASingleLine: None
11+
AllowShortIfStatementsOnASingleLine: false
12+
AllowShortLambdasOnASingleLine: None
13+
AllowShortLoopsOnASingleLine: false
14+
BreakBeforeBraces: Attach
15+
SortIncludes: true
16+
SortUsingDeclarations: true
17+
IncludeBlocks: Regroup

0 commit comments

Comments
 (0)