forked from GeoscienceAustralia/DynAdjust
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-format
More file actions
31 lines (31 loc) · 777 Bytes
/
.clang-format
File metadata and controls
31 lines (31 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
BasedOnStyle: Google
Language: Cpp
IndentWidth: 4
TabWidth: 4
ColumnLimit: 120
UseTab: Never
PointerAlignment: Left
SortIncludes: true
ReflowComments: true
IndentCaseLabels: false
SpaceBeforeParens: ControlStatements
SpaceBeforeCtorInitializerColon: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
IndentBraces: false
BeforeElse: false
BeforeCatch: false
#IndentPPDirectives: BeforeHash
AlignAfterOpenBracket: Align
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 1