Commit 93cc6314 authored by Nico Weber's avatar Nico Weber

Enable -Wimplicit-fallthrough on chromecast.

This Just Works after https://chromium-review.googlesource.com/897393

Bug: 177475
Change-Id: I5769827692dfc4f864db403b3e525c9afb00436b
Reviewed-on: https://chromium-review.googlesource.com/899114Reviewed-by: default avatarStephen Lanham <slan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534159}
parent 469db7dc
......@@ -1429,8 +1429,7 @@ config("chromium_code") {
# Warn on missing break statements at the end of switch cases.
# For intentional fallthrough, use FALLTHROUGH; from base/compiler_specific.h
# TODO(thakis): Enable for all platforms, https://crbug.com/177475
if (is_clang &&
(is_android || is_fuchsia || (is_linux && !is_chromecast && !use_ozone))) {
if (is_clang && (is_android || is_fuchsia || (is_linux && !use_ozone))) {
cflags += [ "-Wimplicit-fallthrough" ]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment