diff options
author | Ryan Beltran <ryanbeltran@chromium.org> | 2021-10-20 21:48:38 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-20 23:17:22 +0000 |
commit | afd2d4b05fac5f3a71fd78e251f04cc54cb65c57 (patch) | |
tree | 624805a12e5868f064944a9ef17087d3b7acbf9b /compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json | |
parent | 217c68a15b816dca4e11a21d2365386fd05aa62b (diff) | |
download | toolchain-utils-afd2d4b05fac5f3a71fd78e251f04cc54cb65c57.tar.gz |
compiler_wrapper: ignore unused_but_set_variable
This CL adds -Wno-unused-but-set-variable to clang post flags to prevent
these warnings from blocking the LLVM uprev.
BUG=b:195433889
TEST=cq
Change-Id: I5195412183e2684aecd20b6ff2c3345f8b8b9dfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3235575
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Ryan Beltran <ryanbeltran@chromium.org>
Tested-by: Ryan Beltran <ryanbeltran@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json index 96d6e65a..4d69954b 100644 --- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json +++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json @@ -67,6 +67,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-mno-movbe", "-B../../bin", "-target", @@ -120,6 +121,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-mno-movbe", "-B../../bin", "-target", @@ -166,6 +168,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-mno-movbe", "-B../../bin", "-target", @@ -219,6 +222,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-mno-movbe", "-B../../bin", "-target", @@ -273,6 +277,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-B../../bin", "-target", "armv7a-cros-linux-gnueabihf" @@ -323,6 +328,7 @@ "-Wno-compound-token-split-by-space", "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-unused-but-set-variable", "-mno-movbe", "-B../../bin", "-target", |