Index: base/third_party/dmg_fp/dtoa_wrapper.cc |
diff --git a/base/third_party/dmg_fp/dtoa_wrapper.cc b/base/third_party/dmg_fp/dtoa_wrapper.cc |
index c314c59d87430688d777a45ea029bb0e2162227f..f16263e2a6aa47f1784f89d388df507a039669fb 100644 |
--- a/base/third_party/dmg_fp/dtoa_wrapper.cc |
+++ b/base/third_party/dmg_fp/dtoa_wrapper.cc |
@@ -43,4 +43,11 @@ inline static void FREE_DTOA_LOCK(size_t n) { |
lock->Release(); |
} |
+ |
+// dtoa.cc intentionally uses fallthroughs. |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wimplicit-fallthrough" |
+ |
#include "base/third_party/dmg_fp/dtoa.cc" |
+ |
+#pragma clang diagnostic pop |