-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format_bck
41 lines (34 loc) · 1.01 KB
/
.clang-format_bck
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
# デフォルト設定
BasedOnStyle: Google
# インデント幅
IndentWidth: 4
#UseTab: ForContinuationAndIndentation
# 自動改行させない
ColumnLimit: 0
# if 文で {} ブロックなしの場合に1行にする。
#AllowShortIfStatementsOnASingleLine: true
# for 文で {} ブロックなしの場合に1行にする。
#AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
#AllowShortFunctionsOnASingleLine: inline # 1行関数を許可しない
#AlignArrayOfStructures: right # 右揃え
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true