Skip to content

Commit b037665

Browse files
committed
Initial clang-format auto cleanup
1 parent 3d73948 commit b037665

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.clang-format

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
AccessModifierOffset: 0
2+
AlignEscapedNewlinesLeft: true
3+
AlignTrailingComments: false
4+
AllowAllParametersOfDeclarationOnNextLine: false
5+
AllowShortFunctionsOnASingleLine: false
6+
AllowShortIfStatementsOnASingleLine: true
7+
AllowShortLoopsOnASingleLine: false
8+
AlwaysBreakBeforeMultilineStrings: false
9+
AlwaysBreakTemplateDeclarations: false
10+
BinPackParameters: false
11+
BreakBeforeBinaryOperators: false
12+
BreakBeforeBraces: Allman
13+
BreakBeforeTernaryOperators: false
14+
BreakConstructorInitializersBeforeComma: false
15+
ColumnLimit: 100
16+
CommentPragmas: ''
17+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
18+
ConstructorInitializerIndentWidth: 0
19+
ContinuationIndentWidth: 0
20+
Cpp11BracedListStyle: false
21+
DerivePointerBinding: false
22+
IndentCaseLabels: false
23+
IndentFunctionDeclarationAfterType: false
24+
IndentWidth: 2
25+
Language: Cpp
26+
MaxEmptyLinesToKeep: 2
27+
NamespaceIndentation: All
28+
ObjCSpaceAfterProperty: true
29+
ObjCSpaceBeforeProtocolList: true
30+
PenaltyBreakBeforeFirstCallParameter: 100
31+
PenaltyBreakComment: 100
32+
PenaltyBreakFirstLessLess: 0
33+
PenaltyBreakString: 100
34+
PenaltyExcessCharacter: 1
35+
PenaltyReturnTypeOnItsOwnLine: 20
36+
PointerBindsToType: true
37+
SortIncludes: false
38+
SpaceBeforeAssignmentOperators: true
39+
SpaceBeforeParens: ControlStatements
40+
SpaceInEmptyParentheses: false
41+
SpacesBeforeTrailingComments: 1
42+
SpacesInAngles: false
43+
SpacesInCStyleCastParentheses: false
44+
SpacesInContainerLiterals: false
45+
SpacesInParentheses: false
46+
Standard: Cpp11
47+
TabWidth: 2
48+
UseTab: Never

0 commit comments

Comments
 (0)