From 9d0da0f0a72a0cec00f150fe0d56cbf39ab62080 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 24 Apr 2019 09:55:02 -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: I5e2c4b01dc11299e136b81f4ee3d817aa04c71cb --- msm8998/ipacm/src/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm8998/ipacm/src/Android.mk b/msm8998/ipacm/src/Android.mk index f569c35..57097c9 100644 --- a/msm8998/ipacm/src/Android.mk +++ b/msm8998/ipacm/src/Android.mk @@ -52,7 +52,7 @@ LOCAL_CFLAGS += \ -Wno-writable-strings \ # Allow implicit fallthroughs in IPACM_Main.cpp until they are fixed. -LOCAL_CFLAGS += -Wno-error=implicit-fallthrough +LOCAL_CFLAGS += -Wno-implicit-fallthrough LOCAL_SRC_FILES := IPACM_Main.cpp \ IPACM_EvtDispatcher.cpp \ -- cgit v1.2.3