Skip to content

Commit ffd5ff0

Browse files
committed
Applied clang-format.
1 parent 7817451 commit ffd5ff0

File tree

2 files changed

+197
-116
lines changed

2 files changed

+197
-116
lines changed

.clang-format

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
AlignAfterOpenBracket: BlockIndent
2+
#AlignAfterOpenBracket: AlwaysBreak
3+
AlignEscapedNewlines: DontAlign
4+
AlignTrailingComments: false
5+
AllowAllArgumentsOnNextLine: true
6+
AllowAllConstructorInitializersOnNextLine: false
7+
AllowAllParametersOfDeclarationOnNextLine: false
8+
AllowShortBlocksOnASingleLine: Empty
9+
AllowShortCaseLabelsOnASingleLine: false
10+
AllowShortFunctionsOnASingleLine: None
11+
AllowShortIfStatementsOnASingleLine: Never
12+
AllowShortLambdasOnASingleLine: Empty
13+
AllowShortLoopsOnASingleLine: false
14+
AlwaysBreakBeforeMultilineStrings: true
15+
BasedOnStyle: LLVM
16+
BinPackArguments: false
17+
BinPackParameters: false
18+
BreakBeforeBinaryOperators: None
19+
BreakBeforeTernaryOperators: true
20+
BreakBeforeBraces: Custom
21+
BraceWrapping:
22+
AfterCaseLabel: true
23+
AfterClass: true
24+
AfterControlStatement: Always
25+
AfterEnum: true
26+
AfterFunction: true
27+
AfterNamespace: true
28+
AfterStruct: true
29+
AfterUnion: true
30+
BeforeCatch: true
31+
BeforeElse: true
32+
IndentBraces: false
33+
SplitEmptyFunction: false
34+
SplitEmptyNamespace: true
35+
SplitEmptyRecord: false
36+
AlwaysBreakTemplateDeclarations: true
37+
BreakConstructorInitializers: BeforeComma
38+
BreakBeforeConceptDeclarations: Always
39+
RequiresClausePosition: OwnLine
40+
RequiresExpressionIndentation: OuterScope
41+
BreakInheritanceList: BeforeComma
42+
BreakStringLiterals: true
43+
ColumnLimit: 120
44+
ContinuationIndentWidth: 4
45+
ConstructorInitializerIndentWidth: 4
46+
Cpp11BracedListStyle: true
47+
FixNamespaceComments: false
48+
IncludeBlocks: Preserve
49+
IndentCaseLabels: true
50+
IndentPPDirectives: AfterHash
51+
IndentWidth: 4
52+
Language: Cpp
53+
NamespaceIndentation: All
54+
PointerAlignment: Left
55+
ReflowComments: true
56+
SortIncludes: false
57+
SortUsingDeclarations: false
58+
SpaceAfterTemplateKeyword: true
59+
SpaceBeforeAssignmentOperators: true
60+
SpaceBeforeParens: ControlStatements
61+
SpaceInEmptyParentheses: false
62+
SpacesBeforeTrailingComments: 1
63+
SpacesInAngles: false
64+
SpacesInParentheses: false
65+
SpacesInSquareBrackets: false
66+
Standard: c++20
67+
TabWidth: 4
68+
UseTab: Never
69+
EmptyLineBeforeAccessModifier: Always
70+
IndentExternBlock: Indent
71+
IndentRequires: false
72+
AlignOperands: DontAlign

0 commit comments

Comments
 (0)