ART: Add more tidy checks to fatal list
Add performance-for-range-copy, performance-unnecessary-copy-initialization
and performance-unnecessary-value-param to the list of build-time failures.
Test: mmma art
Test: m test-art-host
Change-Id: Ic8b1f747499e8788f38db557ca1a6e5de7520169
diff --git a/build/Android.bp b/build/Android.bp
index b7d2cbc..499d9b9 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -20,9 +20,15 @@
art_clang_tidy_errors = [
// Protect scoped things like MutexLock.
"bugprone-unused-raii",
+ "performance-for-range-copy",
+ "performance-unnecessary-copy-initialization",
+ "performance-unnecessary-value-param",
]
// Should be: strings.Join(art_clang_tidy_errors, ",").
art_clang_tidy_errors_str = "bugprone-unused-raii"
+ + ",performance-for-range-copy"
+ + ",performance-unnecessary-copy-initialization"
+ + ",performance-unnecessary-value-param"
art_clang_tidy_disabled = [
"-google-default-arguments",