aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json
diff options
context:
space:
mode:
authorRyan Beltran <ryanbeltran@chromium.org>2021-10-08 18:28:28 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-08 18:57:57 +0000
commit2c5d62785d59e0cd7187d66c996294e42cb94deb (patch)
tree54dd0e8cb4a39a7c3ee55a3950b2aebaf3b7e30f /compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json
parentfb4c08bdb3a2ecd875b9b3974211c8334aac5f74 (diff)
downloadtoolchain-utils-2c5d62785d59e0cd7187d66c996294e42cb94deb.tar.gz
compiler_wrapper: move llvmnext flag to post flags
This CL moves flags added for LLVM Next that disabled variable_unused_but_set warnings to PostFlags in order to make sure it gets added after Wall and Wextra. BUG=b:195433889 TEST=reran package tests Change-Id: Icdd2cbe3ced7b8427257c87f9e527b0d0e8da57d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3214640 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_hardened_llvmnext_golden/force_disable_werror.json')
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json
index 44afa63d..fc55b4cd 100644
--- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json
+++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json
@@ -33,7 +33,6 @@
"-fexperimental-new-pass-manager",
"-Wno-compound-token-split-by-macro",
"-Wno-deprecated-declarations",
- "-Wno-unused-but-set-variable",
"-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
"-fcommon",
"-fstack-protector-strong",
@@ -48,6 +47,7 @@
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-mno-movbe",
"-B../../bin",
"-target",
@@ -96,7 +96,6 @@
"-fexperimental-new-pass-manager",
"-Wno-compound-token-split-by-macro",
"-Wno-deprecated-declarations",
- "-Wno-unused-but-set-variable",
"-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
"-fcommon",
"-fstack-protector-strong",
@@ -111,6 +110,7 @@
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-mno-movbe",
"-B../../bin",
"-target",
@@ -145,7 +145,6 @@
"-fexperimental-new-pass-manager",
"-Wno-compound-token-split-by-macro",
"-Wno-deprecated-declarations",
- "-Wno-unused-but-set-variable",
"-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
"-fcommon",
"-fstack-protector-strong",
@@ -160,6 +159,7 @@
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-mno-movbe",
"-B../../bin",
"-target",
@@ -212,7 +212,6 @@
"-fexperimental-new-pass-manager",
"-Wno-compound-token-split-by-macro",
"-Wno-deprecated-declarations",
- "-Wno-unused-but-set-variable",
"-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
"-fcommon",
"-fstack-protector-strong",
@@ -227,6 +226,7 @@
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-mno-movbe",
"-B../../bin",
"-target",
@@ -261,7 +261,6 @@
"-fexperimental-new-pass-manager",
"-Wno-compound-token-split-by-macro",
"-Wno-deprecated-declarations",
- "-Wno-unused-but-set-variable",
"-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
"-fcommon",
"-fstack-protector-strong",
@@ -276,6 +275,7 @@
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
"-Wno-deprecated-copy",
+ "-Wno-unused-but-set-variable",
"-mno-movbe",
"-B../../bin",
"-target",