Skip to content

Commit e666c35

Browse files
committed
add clang-format
1 parent 50d654d commit e666c35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.clang-format

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BasedOnStyle: 'Chromium'
2+
IndentWidth: 4
3+
AccessModifierOffset: -2
4+
5+
# for competitive programing
6+
AllowShortFunctionsOnASingleLine: All
7+
AllowShortIfStatementsOnASingleLine: true
8+
AllowShortLoopsOnASingleLine: true
9+
AlwaysBreakTemplateDeclarations: false

0 commit comments

Comments
 (0)