mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 01:31:06 +00:00
GN: Suppress unreachable code warnings. (#4476)
These are popping up in a Chromium test integration. Fixes #4475
This commit is contained in:
parent
57e1d8ebe3
commit
926ff6d1ba
2
BUILD.gn
2
BUILD.gn
@ -378,6 +378,8 @@ config("spvtools_internal_config") {
|
|||||||
cflags += [
|
cflags += [
|
||||||
"-Wno-implicit-fallthrough",
|
"-Wno-implicit-fallthrough",
|
||||||
"-Wno-newline-eof",
|
"-Wno-newline-eof",
|
||||||
|
"-Wno-unreachable-code-break",
|
||||||
|
"-Wno-unreachable-code-return",
|
||||||
]
|
]
|
||||||
} else if (!is_win) {
|
} else if (!is_win) {
|
||||||
# Work around a false-positive on a Skia GCC 10 builder.
|
# Work around a false-positive on a Skia GCC 10 builder.
|
||||||
|
Loading…
Reference in New Issue
Block a user