summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-06 13:54:49 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-06 13:54:49 -0700
commita01cbb6302d04ec3ec80faf4bed849ead3413536 (patch)
tree2486236671ea805ec0fcaca310998c518634660f
parent63555c7bb790516c89f54d661dc8ea400dd8d2d7 (diff)
downloadspirv-llvm-master-cuttlefish-testing-release.tar.gz
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: If7f5b937cdab4ac877593b9d3e07f92e498a4d15
-rw-r--r--lib/SPIRV/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/SPIRV/Android.bp b/lib/SPIRV/Android.bp
index 846b4303..a6cac539 100644
--- a/lib/SPIRV/Android.bp
+++ b/lib/SPIRV/Android.bp
@@ -91,6 +91,8 @@ cc_library_shared {
clang_cflags: [
// Temporarily suppress the warnings http://b/37867503
"-Wno-error=user-defined-warnings",
+ // SPIRVReader.cpp:1485 implicit fallthrough
+ "-Wno-implicit-fallthrough",
],
product_variables: {