From 01d37b340fb96573414d9e0e4d80fc110d668b5f Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 24 Apr 2019 10:05:45 -0700 Subject: Disable -Wimplicit-fallthrough unless src is fixed. * Current -Wno-error=implicit-fallthrough caused clang-tidy assertion fault, see https://bugs.llvm.org/show_bug.cgi?id=39312 * We could enable this warning when source file is fixed. Bug: 117780134 Test: build with WITH_TIDY=1 Change-Id: I9b7a6be2556afb70d2a8327053e3b207ef32cef1 --- qcwcn/wifi_hal/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk index 639ccdb..857f156 100644 --- a/qcwcn/wifi_hal/Android.mk +++ b/qcwcn/wifi_hal/Android.mk @@ -29,7 +29,7 @@ LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion LOCAL_CFLAGS += -Wall -Werror # Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed. -LOCAL_CFLAGS += -Wno-error=implicit-fallthrough +LOCAL_CFLAGS += -Wno-implicit-fallthrough LOCAL_C_INCLUDES += \ $(LOCAL_PATH) \ @@ -94,7 +94,7 @@ endif LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion # Allow implicit fallthrough in nan_ind.cpp:834 until it is fixed. -LOCAL_CFLAGS += -Wno-error=implicit-fallthrough +LOCAL_CFLAGS += -Wno-implicit-fallthrough LOCAL_C_INCLUDES += \ $(LOCAL_PATH) \ -- cgit v1.2.3