.clang-format 1.9 KB
Newer Older
PanZezhong's avatar
PanZezhong committed
1
2
3
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -4
PanZezhongQY's avatar
PanZezhongQY committed
4
AlignAfterOpenBracket: Align
PanZezhong's avatar
PanZezhong committed
5
6
7
8
9
10
# AlignConsecutiveAssignments: None
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Always
PanZezhongQY's avatar
PanZezhongQY committed
11
12
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
PanZezhong's avatar
PanZezhong committed
13
14
15
AllowShortIfStatementsOnASingleLine: Always
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
PanZezhongQY's avatar
PanZezhongQY committed
16
AlwaysBreakAfterReturnType: None
PanZezhong's avatar
PanZezhong committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
AlwaysBreakTemplateDeclarations: No
BreakBeforeBraces: Custom
BraceWrapping:
  AfterCaseLabel: false
  AfterClass: false
  AfterControlStatement: Never
  AfterEnum: false
  AfterFunction: false
  AfterNamespace: false
  AfterUnion: false
  BeforeCatch: false
  BeforeElse: false
  IndentBraces: false
  SplitEmptyFunction: false
  SplitEmptyRecord: true
PanZezhongQY's avatar
PanZezhongQY committed
32
33
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
PanZezhong's avatar
PanZezhong committed
34
35
36
37
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
ColumnLimit: 0
CompactNamespaces: true
PanZezhongQY's avatar
PanZezhongQY committed
38
ContinuationIndentWidth: 4
PanZezhong's avatar
PanZezhong committed
39
40
41
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
PanZezhongQY's avatar
PanZezhongQY committed
42
KeepEmptyLinesAtTheStartOfBlocks: true
PanZezhong's avatar
PanZezhong committed
43
44
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
PanZezhongQY's avatar
PanZezhongQY committed
45
46
47
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Right
PanZezhong's avatar
PanZezhong committed
48
49
50
51
ReflowComments: false
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
PanZezhongQY's avatar
PanZezhongQY committed
52
SpaceBeforeAssignmentOperators: true
PanZezhong's avatar
PanZezhong committed
53
54
55
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
PanZezhongQY's avatar
PanZezhongQY committed
56
SpaceBeforeParens: ControlStatements
PanZezhong's avatar
PanZezhong committed
57
SpaceBeforeRangeBasedForLoopColon: true
PanZezhongQY's avatar
PanZezhongQY committed
58
SpaceInEmptyParentheses: false
PanZezhong's avatar
PanZezhong committed
59
60
SpacesBeforeTrailingComments: 0
SpacesInAngles: false
PanZezhongQY's avatar
PanZezhongQY committed
61
SpacesInCStyleCastParentheses: false
PanZezhong's avatar
PanZezhong committed
62
SpacesInContainerLiterals: false
PanZezhongQY's avatar
PanZezhongQY committed
63
64
SpacesInParentheses: false
SpacesInSquareBrackets: false
PanZezhong's avatar
PanZezhong committed
65
66
TabWidth: 4
UseTab: Never