forked from ValveSoftware/source-sdk-2013
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
109 lines (109 loc) · 3.66 KB
/
.clang-tidy
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
# Generated from CLion Inspection settings
---
Checks: '-*,
mpi-*,
bugprone-*,
-bugprone-switch-missing-default-case,
-bugprone-signal-handler,
-bugprone-narrowing-conversions,
-bugprone-chained-comparison,
-bugprone-casting-through-void,
-bugprone-redundant-branch-condition,
-bugprone-exception-escape,
-bugprone-multiple-new-in-one-expression,
-bugprone-unchecked-optional-access,
-bugprone-shared-ptr-array-mismatch,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-signed-char-misuse,
-bugprone-inc-dec-in-conditions,
-bugprone-assignment-in-if-condition,
-bugprone-incorrect-enable-if,
-bugprone-bool-pointer-implicit-conversion,
-bugprone-empty-catch,
-bugprone-unhandled-exception-at-new,
-bugprone-optional-value-conversion,
-bugprone-compare-pointer-to-member-virtual-function,
-bugprone-multi-level-implicit-pointer-conversion,
-bugprone-unsafe-functions,
-bugprone-infinite-loop,
-bugprone-unused-local-non-trivial-variable,
-bugprone-easily-swappable-parameters,
-bugprone-unique-ptr-array-mismatch,
-bugprone-non-zero-enum-to-bool-conversion,
-bugprone-not-null-terminated-result,
-bugprone-standalone-empty,
-bugprone-stringview-nullptr,
cert-err52-cpp,
cert-err60-cpp,
cert-err34-c,
cert-str34-c,
cert-msc50-cpp,
cert-msc51-cpp,
cert-dcl58-cpp,
cert-flp30-c,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-slicing,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-missing-std-forward,
google-runtime-int,
google-runtime-operator,
google-explicit-constructor,
hicpp-multiway-paths-covered,
hicpp-exception-baseclass,
misc-unconventional-assign-operator,
misc-misplaced-const,
misc-new-delete-overloads,
misc-non-copyable-objects,
misc-no-recursion,
misc-throw-by-value-catch-by-reference,
misc-uniqueptr-reset-release,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-use-constraints,
-modernize-use-std-numbers,
-modernize-type-traits,
-modernize-use-std-print,
-modernize-use-using,
-modernize-use-default-member-init,
-modernize-use-starts-ends-with,
-modernize-macro-to-enum,
-modernize-use-designated-initializers,
openmp-use-default-none,
performance-*,
-performance-noexcept-swap,
-performance-noexcept-destructor,
-performance-enum-size,
-performance-no-int-to-ptr,
-performance-avoid-endl,
portability-simd-intrinsics,
readability-avoid-const-params-in-decls,
readability-redundant-smartptr-get,
readability-make-member-function-const,
readability-string-compare,
readability-delete-null-pointer,
readability-avoid-nested-conditional-operator,
readability-static-accessed-through-instance,
readability-convert-member-functions-to-static,
readability-redundant-function-ptr-dereference,
readability-const-return-type,
readability-misleading-indentation,
readability-non-const-parameter,
readability-redundant-string-cstr,
readability-use-anyofallof,
readability-simplify-subscript-expr,
readability-braces-around-statements,
readability-uniqueptr-delete-release,
readability-static-definition-in-anonymous-namespace,
readability-redundant-declaration,
readability-avoid-return-with-void-value,
readability-redundant-string-init,
readability-redundant-control-flow,
readability-misplaced-array-index,
readability-inconsistent-declaration-parameter-name,
readability-container-size-empty,
-modernize-use-trailing-return-type' # TODO: Remove "-modernize-use-trailing-return-type" from list
#CheckOptions:
# google-runtime-int.SignedTypePrefix: 'i'
# google-runtime-int.UnsignedTypePrefix: 'u'