Merge "Switch to clang-r349610" am: 42b87a2e56
am: 8edd1c3632
Change-Id: I92713c576b5c9c9bf7ee16d0016c0f9aa495a3e7
diff --git a/cc/config/clang.go b/cc/config/clang.go
index 6a1c736..4ec787f 100644
--- a/cc/config/clang.go
+++ b/cc/config/clang.go
@@ -97,8 +97,9 @@
pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{
"-D__compiler_offsetof=__builtin_offsetof",
- // -Wimplicit-fallthrough is not enabled by -Wall.
+ // Make implicit fallthrough an error in the future.
"-Wimplicit-fallthrough",
+ "-Wno-error=implicit-fallthrough",
// Help catch common 32/64-bit errors.
"-Werror=int-conversion",