forked from NVIDIAGameWorks/Falcor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clangd
75 lines (75 loc) · 2.44 KB
/
.clangd
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
CompileFlags:
Add:
- "-Wno-unused-private-field"
- "-Wno-braced-scalar-init"
- "-Wno-self-assign-overloaded"
- "-Wno-unused-function"
- "-Wno-unused-variable"
- "-Wno-unused-but-set-variable"
- "-Wno-switch"
- "-Wno-missing-braces"
- "-Wno-invalid-offsetof"
- "-fpermissive"
- "-Wno-sign-compare"
- "-Wno-literal-suffix"
- "-Wno-class-memaccess"
- "-Wno-strict-aliasing"
- "-Wno-maybe-uninitialized"
- "-Wno-stringop-truncation"
Diagnostics:
ClangTidy:
Add:
[
bugprone-*,
misc-misplaced-const,
misc-non-copyable-objects,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-uniqueptr-reset-release,
modernize-avoid-bind,
modernize-make-shared,
modernize-redundant-void-arg,
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-replace-random-shuffle,
modernize-shrink-to-fit,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-default-member-init,
modernize-use-noexcept,
modernize-use-emplace,
modernize-use-override,
modernize-use-using,
performance-*,
readability-avoid-const-params-in-decls,
readability-const-return-type,
readability-container-size-empty,
readability-delete-null-pointer,
readability-else-after-return,
readability-implicit-bool-conversion,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-qualified-auto,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-suspicious-call-argument,
readability-uniqueptr-delete-release,
]
Remove: [bugprone-easily-swappable-parameters]
UnusedIncludes: Strict
Suppress: [static_assert_expression_is_not_constant]
InlayHints:
# BlockEnd: No
Designators: Yes
Enabled: Yes
ParameterNames: Yes
DeducedTypes: Yes