-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_clang-format
106 lines (106 loc) · 2.74 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
BasedOnStyle: Google
IndentWidth: 4
Language: Cpp
ContinuationIndentWidth: 4
ColumnLimit: 250
Standard: Latest
AccessModifierOffset: -4
ConstructorInitializerIndentWidth: 4
AllowShortFunctionsOnASingleLine: false
DerivePointerAlignment: false
PointerAlignment: Middle
ReferenceAlignment: Middle
QualifierAlignment: Left
AlignArrayOfStructures: None
AllowAllArgumentsOnNextLine: true
AllowShortEnumsOnASingleLine: false
BreakBeforeBraces: Custom
BreakBeforeBinaryOperators: All
IndentCaseLabels: false
IndentExternBlock: NoIndent
BraceWrapping:
AfterFunction: true
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: MultiLine
AfterEnum: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: true
BeforeWhile: false
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
LambdaBodyIndentation: Signature
AllowShortLambdasOnASingleLine: Inline
UseTab: Never
Cpp11BracedListStyle: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
PackConstructorInitializers: Never
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
BreakArrays: true
DeriveLineEnding: false
UseCRLF: false
FixNamespaceComments: true
ShortNamespaceLines: 0
WhitespaceSensitiveMacros:
- STRINGIZE
- STRINGIZE2
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
SpaceAfterTemplateKeyword: false
SpaceBeforeCpp11BracedList: false
IncludeBlocks: Regroup
IncludeIsMainRegex: (_test)?$
IncludeCategories:
- Regex: ^<(sah_kd_tree|builder|common|scene_loader|scene_data|scene|format|fuzzer|engine|utils|soft_renderer|compute|viewer|codegen|debug_utils)/.*\.(hpp|cuh)>
Priority: 2
- Regex: ^<thrust/
Priority: 4
- Regex: ^<vulkan/.*\.hpp>$
Priority: 5
- Regex: ^<\.\./SPIRV\-Reflect/
Priority: 5
- Regex: <spirv/unified1/spirv\.h>
Priority: 5
- Regex: ^<gtest/gtest\.h>$
Priority: 5
- Regex: ^<assimp/
Priority: 5
- Regex: ^<gl[mi]/
Priority: 5
- Regex: ^<fmt/
Priority: 5
- Regex: ^<spdlog/
Priority: 5
- Regex: ^<nlohmann/
Priority: 5
- Regex: ^<vk_mem_alloc.h>$
Priority: 5
- Regex: ^<(Q[A-Z]|Qt)
Priority: 6
CaseSensitive: true
- Regex: \.hpp>$
Priority: 3
- Regex: ^<vulkan/.*\.h>$
Priority: 8
- Regex: ^<(sah_kd_tree|builder|common|scene_loader|scene_data|scene|format|fuzzer|engine|utils|soft_renderer|compute|viewer|codegen|debug_utils)/.*_export\.h>
Priority: 11
- Regex: \.h>$
Priority: 10
- Regex: ^<c(assert|stdlib|stdint|string|math|stddef)>$
Priority: 9
- Regex: ^<[[:alnum:]_]+>$
Priority: 7
- Regex: .*
Priority: 1
---
Language: JavaScript
ColumnLimit: 250