diff options
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r-- | src/.clang-tidy | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy new file mode 100644 index 00000000..8b9aa445 --- /dev/null +++ b/src/.clang-tidy @@ -0,0 +1,29 @@ +Checks: > + -*-avoid-c-arrays, + -*-uppercase-literal-suffix, + -*-vararg, + -android-cloexec-*, + -bugprone-easily-swappable-parameters, + -cert-dcl50-cpp, + -cert-err33-c, + -cert-err34-c, + -clang-analyzer-optin.cplusplus.VirtualCall, + -clang-analyzer-valist.Uninitialized, + -concurrency-mt-unsafe, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-no-malloc, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-const-cast, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-pro-type-union-access, + -fuchsia-statically-constructed-objects, + -google-readability-casting, + -hicpp-no-array-decay, + -hicpp-no-malloc, + -misc-no-recursion, + -misc-unused-parameters, + -readability-function-cognitive-complexity, + -readability-use-anyofallof, +InheritParentConfig: true |