Skip to content

Commit f9e5715

Browse files
authored
chore: clang-format configuration file based on LLVM
1 parent 9c28555 commit f9e5715

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.clang-format

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
BasedOnStyle: LLVM
2+
IndentWidth: 6
3+
UseTab: Never
4+
TabWidth: 6
5+
ContinuationIndentWidth: 6
6+
BreakBeforeBraces: Allman
7+
ColumnLimit: 100
8+
PointerAlignment: Right
9+
ReferenceAlignment: Right
10+
SortIncludes: CaseInsensitive
11+
IncludeBlocks: Regroup
12+
SpaceBeforeParens: ControlStatements
13+
SpaceAfterCStyleCast: false
14+
SpaceBeforeAssignmentOperators: true
15+
SpaceInEmptyBlock: false
16+
BreakConstructorInitializers: BeforeColon
17+
ConstructorInitializerIndentWidth: 6
18+
AllowAllArgumentsOnNextLine: false
19+
AllowAllParametersOfDeclarationOnNextLine: false
20+
BinPackArguments: false
21+
BinPackParameters: false
22+
AllowShortIfStatementsOnASingleLine: Never
23+
AllowShortLoopsOnASingleLine: false
24+
AllowShortFunctionsOnASingleLine: Empty
25+
AllowShortBlocksOnASingleLine: Empty
26+
Cpp11BracedListStyle: true
27+
SpacesInAngles: Never

0 commit comments

Comments
 (0)