CMake: disable "no-used-but-marked-unused" Clang warning
This warning arises when using gtest SCOPED_TRACE. Chromium doesn't enable -Weverything, which is why the GN build doesn't produce this warning. Bug: tint:680 Change-Id: Ie90ea3b9378a1864165bfd889286071d9c0b88c6 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/46580 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
b4275c870e
commit
c6aa48e4ea
|
@ -167,6 +167,7 @@ function(tint_default_compile_options TARGET)
|
|||
-Wno-return-std-move-in-c++11
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-undefined-var-template
|
||||
-Wno-used-but-marked-unused
|
||||
-Weverything
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue