-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.clang-tidy
More file actions
76 lines (75 loc) · 2.44 KB
/
.clang-tidy
File metadata and controls
76 lines (75 loc) · 2.44 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
FormatStyle: file
Checks: >
-*,
readability-*,
-readability-redundant-access-specifiers,
-readability-function-size,
-readability-identifier-length,
-readability-isolate-declaration,
-readability-uppercase-literal-suffix,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-avoid-unconditional-preprocessor-if,
-readability-identifier-naming,
-readability-named-parameter,
-readability-function-cognitive-complexity,
bugprone-argument-comment,
bugprone-bool-pointer-implicit-conversion,
bugprone-dangling-handle,
bugprone-forward-declaration-namespace,
bugprone-inaccurate-erase,
bugprone-redundant-branch-condition,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-suspicious-memset-usage,
bugprone-suspicious-realloc-usage,
bugprone-terminating-continue,
bugprone-undefined-memory-manipulation,
bugprone-unique-ptr-array-mismatch,
bugprone-unused-raii,
bugprone-use-after-move,
bugprone-virtual-near-miss,
clang-analyzer-*,
google-build-explicit-make-pair,
google-default-arguments,
google-explicit-constructor,
google-objc-avoid-nsobject-new,
google-readability-casting,
google-upgrade-googletest-case,
misc-homoglyph,
misc-misleading-identifier,
modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-loop-convert,
modernize-make-shared,
modernize-make-unique,
modernize-redundant-void-arg,
modernize-replace-random-shuffle,
modernize-shrink-to-fit,
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nodiscard,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: true
- key: modernize-use-emplace.IgnoreImplicitConstructors
value: true
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: bugprone-assert-side-effect.CheckFunctionCalls
value: true
- key: bugprone-assert-side-effect.AssertMacros
value: assert, ASSERT, ASSERT_MSG, VULKAN_HPP_ASSERT
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: true
- key: bugprone-dangling-handle.HandleClasses
value: ::std::basic_string_view;::std::span
- key: bugprone-string-constructor.StringNames
value: ::std::basic_string;::std::basic_string_view;