-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
38 lines (38 loc) · 1004 Bytes
/
Copy path.clang-format
File metadata and controls
38 lines (38 loc) · 1004 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
32
33
34
35
36
37
38
BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
TabWidth: 4
SpacesBeforeTrailingComments: 1
ColumnLimit: 120
BreakBeforeBraces: Allman
BraceWrapping:
AfterControlStatement: Always
AfterFunction: true
SplitEmptyRecord: false
BeforeElse: true
IndentBraces: true
AfterCaseLabel: true
AfterClass: true
AfterEnum: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeLambdaBody: true
BeforeWhile: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
PackConstructorInitializers: Never
ConstructorInitializerIndentWidth: 2
CommentPragmas: NOLINT:.*
AllowShortFunctionsOnASingleLine: InlineOnly
Standard: Cpp11
Cpp11BracedListStyle: true
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
IndentAccessModifiers: false
AccessModifierOffset: -4
SpaceBeforeParens: ControlStatementsExceptControlMacros
IndentCaseLabels: true
StatementMacros: ['Q_OBJECT', 'Q_UNUSED']