GN: Add -Wimplicit-fallthrough warning

This warning was added for the GYP build back in
https://webrtc-codereview.appspot.com/34899004

NOTRY=True

Review URL: https://codereview.webrtc.org/1928543002

Cr-Commit-Position: refs/heads/master@{#12531}
This commit is contained in:
kjellander 2016-04-27 07:13:46 -07:00 committed by Commit bot
parent d1fe281e12
commit 3f032cf688

View File

@ -114,7 +114,10 @@ config("common_config") {
}
if (is_clang) {
cflags += [ "-Wthread-safety" ]
cflags += [
"-Wimplicit-fallthrough",
"-Wthread-safety",
]
}
}