Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Unified Diff: base/third_party/dmg_fp/dtoa_wrapper.cc

Issue 12310041: experiment with -Wimplicit-fallthrough Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/process_metrics_mac.cc ('k') | base/third_party/icu/icu_utf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « base/process/process_metrics_mac.cc ('k') | base/third_party/icu/icu_utf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698