-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_clang-format
More file actions
135 lines (135 loc) · 3.37 KB
/
_clang-format
File metadata and controls
135 lines (135 loc) · 3.37 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
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: false
AllowShortEnumsOnASingleLine: false
AlignAfterOpenBracket: false
BreakBeforeBraces: Custom
BinPackArguments: false
BinPackLongBracedList: false
BinPackParameters: AlwaysOnePerLine
InsertBraces: true
InsertNewlineAtEOF: true
InsertTrailingCommas: Wrapped
IndentRequiresClause: true
IndentExternBlock: NoIndent
IndentExportBlock: false
IndentCaseLabels: false
BreakBeforeBinaryOperators: All
BreakAfterOpenBracketFunction: true
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
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- Q_DECLARE_FLAGS
- Q_ENUM
- Q_FLAG
- Q_LOGGING_CATEGORY
- Q_OBJECT
- Q_PROPERTY
- QML_ELEMENT
- QML_NAMED_ELEMENT
- QML_SINGLETON
- QML_FOREIGN
AlignEscapedNewlines: LeftWithLastLine
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: ^<SDL3/
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|string|math|std(lib|int|def|io))>$
Priority: 9
- Regex: ^<[[:alnum:]_]+>$
Priority: 7
- Regex: ^<sah_kd_tree/.*\.inl>
Priority: 8
- Regex: .*
Priority: 1
---
Language: JavaScript
ColumnLimit: 250