Global clang-tidy is dead, and not coming back.
Change-Id: Ia24568e9908ac88fb72f45c0b2e7f50101a6fb00
diff --git a/tests/Android.bp b/tests/Android.bp
index f227bbc..e2ac09a 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -379,9 +379,6 @@
"bionic_tests_defaults",
"large_system_property_node_defaults",
],
- tidy_disabled_srcs: [
- "malloc_test.cpp", // timed out with clang-tidy, and too many warnings
- ],
srcs: [
"__aeabi_read_tp_test.cpp",
"__cxa_atexit_test.cpp",
@@ -657,7 +654,6 @@
static_libs: [
"libbase",
],
- tidy: false,
target: {
musl: {
// Musl doesn't have fortify
@@ -666,12 +662,12 @@
},
}
-// Ensure we don't use FORTIFY'ed functions with the static analyzer/clang-tidy:
+// Ensure we don't use FORTIFY'ed functions with the clang static analyzer:
// it can confuse these tools pretty easily. If this builds successfully, then
// __clang_analyzer__ overrode FORTIFY. Otherwise, FORTIFY was incorrectly
// enabled. The library that results from building this is meant to be unused.
cc_test_library {
- name: "fortify_disabled_for_tidy",
+ name: "fortify_disabled_for_clang_analyzer",
defaults: [
"bionic_clang_fortify_tests_w_flags",
],
@@ -681,7 +677,6 @@
"-D__clang_analyzer__",
],
srcs: ["clang_fortify_tests.cpp"],
- tidy: false,
}
cc_test_library {
@@ -723,7 +718,6 @@
"-U_FORTIFY_SOURCE",
],
srcs: ["clang_fortify_tests.cpp"],
- tidy: false,
}
cc_test_library {
@@ -772,7 +766,6 @@
srcs: [
"clang_fortify_c_only_tests.c",
],
- tidy: false,
shared: {
enabled: false,
},
@@ -1428,7 +1421,6 @@
enabled: true,
},
},
- tidy: false,
clang_verify: true,
cflags: [
"-Wall",