Suppress the google-explicit-constructor warning locally.
authorChih-Hung Hsieh <chh@google.com>
Tue, 2 Aug 2016 05:33:13 +0000 (22:33 -0700)
committerChih-Hung Hsieh <chh@google.com>
Tue, 2 Aug 2016 17:03:03 +0000 (10:03 -0700)
* Too many source files and constructors to fix now.

Bug: 28341362
Change-Id: I65c30df6e376cd77a43b80642354ff01d2c0b8df
Test: build with WITH_TIDY=1

Android.mk

index a00fe25..7a51356 100644 (file)
@@ -1,6 +1,13 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+# The clang-tidy google-explicit-constructor warning is issued to nearly
+# 1000 conversion constructors in this project. They are from more than
+# 500 source files. Most of them should be declared explicit, but many
+# of them need to be implicit. Until we correctly mark them as explicit
+# or NOLINT(implicit), we suppress the google-explicit-constructor check.
+LOCAL_TIDY_CHECKS := -google-explicit-constructor
+
 delibs_dir := $(LOCAL_PATH)/framework/delibs
 deqp_dir := $(LOCAL_PATH)/