forked from lua/lua
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
42 lines (41 loc) · 1.04 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
BasedOnStyle: WebKit
AlignOperands: true
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignEscapedNewlines: Left
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
BraceWrapping:
AfterControlStatement: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
BeforeCatch: true
BeforeElse: true
AfterClass: false
AfterCaseLabel: false
AfterEnum: false
AfterUnion: false
IndentBraces: false
AfterExternBlock: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeColon
ColumnLimit: 80
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
IndentWidth: 2
NamespaceIndentation: All
PointerAlignment: Right
ReferenceAlignment: Pointer
SortIncludes: false
SpaceAfterTemplateKeyword: false
SpaceBeforeCpp11BracedList: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
TabWidth: 2
UseTab: Never