enable warnings as errors - for real
experimentation shows that '*' does not match
bugprone-narrowing-conversions while * does.
This is proof the single quotes were all erroneous.
Test: builds
Bug: 153035880
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I51727deef594760cf6aeb404d54bb02a3d7c77cf
Merged-In: I51727deef594760cf6aeb404d54bb02a3d7c77cf
diff --git a/Android.bp b/Android.bp
index ee12e11..2e6290c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -40,13 +40,6 @@
"-misc-non-private-member-variables-in-classes", // Also complains about structs
],
tidy_flags: [
- "-warnings-as-errors="
- + "'android-*'"
- + ",bugprone-*"
- + ",'cert-*'"
- + ",'clang-analyzer-security*'"
- + ",'google-*'"
- + ",'misc-*'"
- + ",'performance-*'"
+ "-warnings-as-errors=*"
],
}