Skip to content

Commit bdc94da

Browse files
committed
Add clang-format
1 parent 268745b commit bdc94da

27 files changed

+9737
-9323
lines changed

.clang-format

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Language: Cpp
2+
Standard: c++20
3+
BasedOnStyle: Google
4+
ColumnLimit: 100
5+
UseTab: ForContinuationAndIndentation
6+
IndentWidth: 4
7+
TabWidth: 4
8+
IndentCaseLabels: true
9+
LambdaBodyIndentation: OuterScope
10+
IndentPPDirectives: AfterHash
11+
AlwaysBreakTemplateDeclarations: Yes
12+
13+
IndentRequiresClause: false
14+
RequiresClausePosition: OwnLine
15+
RequiresExpressionIndentation: OuterScope
16+
17+
DerivePointerAlignment: false
18+
AllowShortCaseLabelsOnASingleLine: true
19+
QualifierAlignment: Left
20+
AlignConsecutiveShortCaseStatements:
21+
Enabled: true
22+
AcrossEmptyLines: true
23+
AcrossComments: true
24+
AlignCaseColons: false

0 commit comments

Comments
 (0)