Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 2463b71

Browse files
committed
.clang-format: add file
Signed-off-by: Brendan Le Foll <[email protected]>
1 parent cc4a818 commit 2463b71

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.clang-format

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

0 commit comments

Comments
 (0)