diff options
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..f95d6a3 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,59 @@ +Checks: > + *, + -*-else-after-return, + -*-magic-numbers, + -*-non-private-member-variables-in-classes, + -*-uppercase-literal-suffix, + -*-use-auto, + -*-use-equals-default, + -*-use-equals-delete, + -*-vararg, + -abseil-string-find-str-contains, + -android-cloexec-fopen, + -bugprone-branch-clone, + -bugprone-copy-constructor-init, + -bugprone-narrowing-conversions, + -bugprone-reserved-identifier, + -bugprone-suspicious-include, + -bugprone-suspicious-string-compare, + -cert-dcl37-c, + -cert-dcl51-cpp, + -cert-err34-c, + -clang-analyzer-valist.Uninitialized, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-init-variables, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-narrowing-conversions, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-special-member-functions, + -fuchsia-default-arguments-calls, + -fuchsia-default-arguments-declarations, + -fuchsia-multiple-inheritance, + -fuchsia-overloaded-operator, + -google-explicit-constructor, + -google-readability-todo, + -google-runtime-references, + -hicpp-explicit-conversions, + -hicpp-multiway-paths-covered, + -hicpp-no-array-decay, + -hicpp-noexcept-move, + -hicpp-signed-bitwise, + -hicpp-special-member-functions, + -llvm-header-guard, + -llvm-include-order, + -llvmlibc-*, + -misc-no-recursion, + -misc-unused-parameters, + -modernize-use-default-member-init, + -modernize-use-trailing-return-type, + -performance-faster-string-find, + -performance-noexcept-move-constructor, + -performance-unnecessary-value-param, + -readability-const-return-type, + -readability-implicit-bool-conversion, + -readability-redundant-member-init, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |