diff options
-rw-r--r-- | .clang-tidy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index 1a009ab..86f28da 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -5,14 +5,19 @@ Checks: > -*-no-malloc, -*-uppercase-literal-suffix, -*-vararg, + -altera-*, + -bugprone-easily-swappable-parameters, -bugprone-suspicious-string-compare, -clang-analyzer-core.CallAndMessage, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -concurrency-mt-unsafe, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, -cppcoreguidelines-owning-memory, -cppcoreguidelines-pro-bounds-pointer-arithmetic, -cppcoreguidelines-pro-type-cstyle-cast, + -cppcoreguidelines-pro-type-reinterpret-cast, -fuchsia-default-arguments, -fuchsia-default-arguments-calls, -google-runtime-int, @@ -20,6 +25,8 @@ Checks: > -llvm-header-guard, -llvmlibc-*, -modernize-use-trailing-return-type, + -performance-no-int-to-ptr, + -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, -readability-non-const-parameter, WarningsAsErrors: '*' |