forked from joholl/pygti2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
executable file
·44 lines (44 loc) · 1.12 KB
/
.clang-format
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
32
33
34
35
36
37
38
39
40
41
42
43
44
---
Language: Cpp
BasedOnStyle: WebKit
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: DontAlign
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AllowAllArgumentsOnNextLine: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
MaxEmptyLinesToKeep: 2
PenaltyReturnTypeOnItsOwnLine: 1000
TabWidth: 4
UseCRLF: false
UseTab: Never
ColumnLimit: 120
PointerAlignment: Right
IndentCaseLabels: true
CommentPragmas: '^lint|^\s?\\.+'
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
StatementMacros: ['_Pragma', 'IFX_ISS_SIG_PRAGMA', 'SECTION']