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:
Antonio Maiorano 2021-03-31 23:39:46 +00:00 committed by Commit Bot service account
parent b4275c870e
commit c6aa48e4ea
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ function(tint_default_compile_options TARGET)
-Wno-return-std-move-in-c++11 -Wno-return-std-move-in-c++11
-Wno-unknown-warning-option -Wno-unknown-warning-option
-Wno-undefined-var-template -Wno-undefined-var-template
-Wno-used-but-marked-unused
-Weverything -Weverything
) )
endif() endif()