-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
65 lines (58 loc) · 1.57 KB
/
.clangd
File metadata and controls
65 lines (58 loc) · 1.57 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
Index:
Background: Build
StandardLibrary: Yes
Diagnostics:
UnusedIncludes: None
MissingIncludes: None
ClangTidy:
Add: [
performance-*,
modernize-*,
clang-analyzer-*,
readability-*,
]
Remove: [
readability-isolate-declaration,
readability-identifier-length,
readability-magic-numbers,
readability-function-cognitive-complexity,
readability-redundant-access-specifiers,
modernize-avoid-c-arrays,
readability-math-missing-parentheses,
]
CheckOptions:
readability-identifier-naming.VariableCase: aNy_CasE
readability-identifier-naming.ProtectedMemberCase: aNy_CasE
readability-identifier-naming.PrivateMemberCase: aNy_CasE
readability-identifier-naming.PublicMemberCase: aNy_CasE
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.FunctionCase: camelBack
readability-identifier-naming.ClassMethodCase: camelBack
CompileFlags:
Add:
- -Wall
- -Wextra
Remove:
- -ccbin
- -forward-unknown-to-host-compiler
- --generate-code*
- -arch*
- -rdc=true
- -Xcudafe
- --diag_suppress=*
- --expt-relaxed-constexpr
- --expt-extended-lambda
- -gencode
- -Xcompiler*
- -fmodules*
- -fmodule-mapper*
- -fdeps-format*
---
If:
PathMatch: [.*\.cu, .*\.cuh]
CompileFlags:
Add:
- --cuda-gpu-arch=sm_89