Skip to content

Commit acd56d6

Browse files
Add Basic Clang Format for Project
1 parent a51aafa commit acd56d6

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+
BasedOnStyle: Google
3+
AccessModifierOffset: '-2'
4+
AlignTrailingComments: 'true'
5+
AllowAllParametersOfDeclarationOnNextLine: 'false'
6+
AlwaysBreakTemplateDeclarations: 'No'
7+
BreakBeforeBraces: Attach
8+
ColumnLimit: '100'
9+
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
10+
IncludeBlocks: Regroup
11+
IndentPPDirectives: AfterHash
12+
IndentWidth: '4'
13+
NamespaceIndentation: All
14+
BreakBeforeBinaryOperators: None
15+
BreakBeforeTernaryOperators: 'true'
16+
AlwaysBreakTemplateDeclarations: 'Yes'
17+
BreakBeforeConceptDeclarations: 'true'
18+
IndentRequires: 'false'
19+
...

0 commit comments

Comments
 (0)