-
Notifications
You must be signed in to change notification settings - Fork 0
/
code_style.txt
49 lines (49 loc) · 1.32 KB
/
code_style.txt
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
45
46
47
48
49
#BasedOnStyle: WebKit
##BreakBeforeBraces: Attach
##NamespaceIndentation: All
#AlignArrayOfStructures: Left
#AlignConsecutiveMacros: 'true'
#AllowShortLambdasOnASingleLine: All
#BreakBeforeBraces: Custom
#BreakBeforeTernaryOperators: 'false'
#Cpp11BracedListStyle: 'true'
#FixNamespaceComments: 'true'
BasedOnStyle: WebKit
AlignTrailingComments: 'true'
Standard: Cpp11
AlignArrayOfStructures: Right
AlignConsecutiveMacros:
Enabled: true
AlignCompound: true
PadOperators: true
AllowAllArgumentsOnNextLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: No
BraceWrapping:
AfterFunction: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBraces: Attach
BreakBeforeConceptDeclarations: Never
CompactNamespaces: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
#IntegerLiteralSeparator:
# Binary: 4
# BinaryMinDigits: 8
# Decimal: 3
# DecimalMinDigits: 5
# Hex: 4
# HexMinDigits: 5
NamespaceIndentation: None
PackConstructorInitializers: CurrentLine
RemoveBracesLLVM: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: false
SpaceBeforeParens: Never
SpaceBeforeRangeBasedForLoopColon: false
TabWidth: 4
AllowShortCaseLabelsOnASingleLine: true