Suppress many less important clang-tidy warnings.
authorChih-Hung Hsieh <chh@google.com>
Tue, 12 Apr 2016 21:57:24 +0000 (14:57 -0700)
committerChih-Hung Hsieh <chh@google.com>
Tue, 12 Apr 2016 21:57:24 +0000 (14:57 -0700)
This will suppress about 947 warnings of google-explicit-constructor
and 430 warnings of google-build-using-namespace.

BUG: 28150914
BUG: 28150377
Change-Id: I2e4062e8408076f3e8b46a22e3b26c7de61102dc

Android.mk

index a94fbac..4711969 100644 (file)
@@ -732,6 +732,10 @@ LOCAL_CFLAGS += \
        $(deqp_compile_flags) \
        -Wno-error=date-time
 
+# Suppress about 947 clang-tidy warnings of google-explicit-constructor,
+# and 430 warnings of google-build-using-namespace.
+LOCAL_TIDY_CHECKS := -google-build-using-namespace,-google-explicit-constructor
+
 LOCAL_SDK_VERSION := 9
 LOCAL_CPPFLAGS += -Wno-non-virtual-dtor
 LOCAL_NDK_STL_VARIANT := gnustl_static