From 7218f50766f5e7de553d7527a5339d9231f83e0f Mon Sep 17 00:00:00 2001 From: vagin ivan Date: Tue, 12 Jul 2022 11:17:52 +0300 Subject: [PATCH] Move out clang-tidy from cmake Change-Id: I388e076a7b8fd411a60bd72b065d0d73719f95dd Signed-off-by: vagin ivan --- CMakeLists.txt | 14 -------------- aot/CMakeLists.txt | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58cbe2c82..a8034d6a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -319,19 +319,5 @@ if (PANDA_FUZZILLI) endif() panda_add_sanitizers(TARGET es2panda-lib SANITIZERS ${PANDA_SANITIZERS_LIST}) -panda_add_to_clang_tidy(TARGET es2panda-lib CHECKS - "-modernize-use-trailing-return-type" - "-llvmlibc-restrict-system-libc-headers" - "-llvmlibc-callee-namespace" - "-cert-dcl21-cpp" - "-cppcoreguidelines-macro-usage" - "-cppcoreguidelines-pro-bounds-pointer-arithmetic" - "-fuchsia-default-arguments-calls" - "-fuchsia-default-arguments-declarations" - "-readability-implicit-bool-conversion" - "-misc-non-private-member-variables-in-classes" - "-hicpp-signed-bitwise" - "-altera-struct-pack-align" -) add_subdirectory(aot) diff --git a/aot/CMakeLists.txt b/aot/CMakeLists.txt index f4c394247..c71c647fa 100644 --- a/aot/CMakeLists.txt +++ b/aot/CMakeLists.txt @@ -31,17 +31,3 @@ target_compile_options(es2panda ) panda_add_sanitizers(TARGET es2panda SANITIZERS ${PANDA_SANITIZERS_LIST}) -panda_add_to_clang_tidy(TARGET es2panda CHECKS - "-modernize-use-trailing-return-type" - "-llvmlibc-restrict-system-libc-headers" - "-llvmlibc-callee-namespace" - "-cert-dcl21-cpp" - "-cppcoreguidelines-macro-usage" - "-cppcoreguidelines-pro-bounds-pointer-arithmetic" - "-fuchsia-default-arguments-calls" - "-fuchsia-default-arguments-declarations" - "-readability-implicit-bool-conversion" - "-misc-non-private-member-variables-in-classes" - "-hicpp-signed-bitwise" - "-altera-struct-pack-align" -) -- Gitee