summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2015-08-17 12:34:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-17 19:35:20 +0000
commit40b3bd7de9e9f7425b24bc5d8e6e888e9dde6af6 (patch)
treea6c60a4c2b3102e5ce3424d1d8f87cbfbadae25f /build
parent07aa47ede206b6a6441607f09feb8e35b711b136 (diff)
downloadchromium_src-40b3bd7de9e9f7425b24bc5d8e6e888e9dde6af6.zip
chromium_src-40b3bd7de9e9f7425b24bc5d8e6e888e9dde6af6.tar.gz
chromium_src-40b3bd7de9e9f7425b24bc5d8e6e888e9dde6af6.tar.bz2
clang/win: Enable -Wswitch.
BUG=505308 Review URL: https://codereview.chromium.org/1294003002 Cr-Commit-Position: refs/heads/master@{#343736}
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi1
-rw-r--r--build/config/compiler/BUILD.gn1
2 files changed, 0 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index db723bc..8804592 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -5803,7 +5803,6 @@
# TODO(hans): Make this list shorter eventually, http://crbug.com/504657
'-Qunused-arguments', # http://crbug.com/504658
'-Wno-microsoft', # http://crbug.com/505296
- '-Wno-switch', # http://crbug.com/505308
'-Wno-unknown-pragmas', # http://crbug.com/505314
'-Wno-unused-value', # http://crbug.com/505318
],
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 80b13e6..7a00b93 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -859,7 +859,6 @@ if (is_win) {
# TODO(hans): Make this list shorter eventually, http://crbug.com/504657
"-Qunused-arguments", # http://crbug.com/504658
"-Wno-microsoft", # http://crbug.com/505296
- "-Wno-switch", # http://crbug.com/505308
"-Wno-unknown-pragmas", # http://crbug.com/505314
"-Wno-unused-value", # http://crbug.com/505318
]