aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
diff options
context:
space:
mode:
authorRyan Beltran <ryanbeltran@chromium.org>2022-09-01 17:51:48 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-01 18:57:33 +0000
commit0665748ca334615e7f41978c36b8fba7817ed2c7 (patch)
treeebf0bf142be03f02a4fe8d7ce46420ecfa6dbace /compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
parenta077084e5356ed2074d4fa76b4333b76ccd1a26e (diff)
downloadtoolchain-utils-0665748ca334615e7f41978c36b8fba7817ed2c7.tar.gz
compiler_wrapper: redisable unused-but-set-var
This CL add the Wno-unused-but-set-variable flag back into the compiler wrapper. It was previously removed, but there are still occurances of the warning and so we were never able to bundle that change into chromoumos-overlay/llvm. An attempt to revert the original CL failed due to a merge conflict. BUG=b:227655984 TEST=None Change-Id: Ic148a6ae577d5e4394249693ce9b09b95cb9df16 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3868978 Commit-Queue: Ryan Beltran <ryanbeltran@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Ryan Beltran <ryanbeltran@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json')
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
index e4cc49ee..ec91216d 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
@@ -61,6 +61,7 @@
"-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-compound-token-split-by-space",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-Wno-implicit-int-float-conversion",
"-Wno-string-concatenation",
"-mno-movbe",
@@ -123,6 +124,7 @@
"-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-compound-token-split-by-space",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-Wno-implicit-int-float-conversion",
"-Wno-string-concatenation",
"-mno-movbe",
@@ -185,6 +187,7 @@
"-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-compound-token-split-by-space",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-Wno-implicit-int-float-conversion",
"-Wno-string-concatenation",
"-mno-movbe",
@@ -247,6 +250,7 @@
"-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-compound-token-split-by-space",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-Wno-implicit-int-float-conversion",
"-Wno-string-concatenation",
"-mno-movbe",