aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormobiletc-prebuild <mobiletc-prebuild@google.com>2024-04-04 08:00:27 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-04-04 15:32:04 +0000
commit226bf89b8994bcaf17f7dd48b667d3c2e8e054f3 (patch)
tree1fe2a2bdebe9eeaa8b04eae9c677611d5277c63d
parentfeab5cecd71dcee4d0dd8e8b973defcdcdbc9b00 (diff)
downloadtoolchain-utils-226bf89b8994bcaf17f7dd48b667d3c2e8e054f3.tar.gz
compiler_wrapper: automatic sync
This CL automatically brings toolchain-utils' compiler_wrapper/ directory in sync with chromiumos-overlay's. Please see go/crostc-repo/+/main:sync_compiler_wrapper_within_cros.sh for more info on this process. BUG=None TEST=None Change-Id: I2c37328293a6f91a0f8f3bdbbc72b1e2123a7f31 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5425512 Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: mobiletc-prebuild Role Account <mobiletc-prebuild@google.com> Auto-Submit: mobiletc-prebuild Role Account <mobiletc-prebuild@google.com> Reviewed-by: George Burgess <gbiv@chromium.org>
-rw-r--r--compiler_wrapper/config.go2
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/bisect.json3
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json1
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json12
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json8
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json4
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json8
-rw-r--r--compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json5
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/bisect.json3
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_path.json12
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_sanitizer_args.json8
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json4
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clang_sysroot_wrapper_common.json6
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/clangtidy.json8
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/force_disable_werror.json5
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json4
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json3
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clang_path.json12
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clangtidy.json8
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/force_disable_werror.json5
-rw-r--r--compiler_wrapper/testdata/cros_hardened_llvmnext_golden/gcc_clang_syntax.json4
-rw-r--r--compiler_wrapper/testdata/cros_hardened_noccache_golden/bisect.json3
-rw-r--r--compiler_wrapper/testdata/cros_hardened_noccache_golden/clang_path.json12
-rw-r--r--compiler_wrapper/testdata/cros_hardened_noccache_golden/clangtidy.json8
-rw-r--r--compiler_wrapper/testdata/cros_hardened_noccache_golden/force_disable_werror.json5
-rw-r--r--compiler_wrapper/testdata/cros_hardened_noccache_golden/gcc_clang_syntax.json4
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json3
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_ftrapv_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json9
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_path.json12
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_sanitizer_args.json8
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_specific_args.json4
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clang_sysroot_wrapper_common.json6
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/clangtidy.json8
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/force_disable_werror.json5
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/gcc_clang_syntax.json4
40 files changed, 261 insertions, 0 deletions
diff --git a/compiler_wrapper/config.go b/compiler_wrapper/config.go
index 041164ab..b445ce95 100644
--- a/compiler_wrapper/config.go
+++ b/compiler_wrapper/config.go
@@ -118,6 +118,8 @@ func crosCommonClangFlags() []string {
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ // TODO(b/316021385): Temporarily disables warnings for variable length arrays.
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
// TODO(b/315504245): Temporarily prevents new mangling rules from taking effect.
"-fclang-abi-compat=17",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json b/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json
index b6864c6d..7526162a 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json
@@ -24,6 +24,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -77,6 +78,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -131,6 +133,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json
index db661269..e60ff52b 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -59,6 +60,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -100,6 +102,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -141,6 +144,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -182,6 +186,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -223,6 +228,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -264,6 +270,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -305,6 +312,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -346,6 +354,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json
index 5ee58565..5bd833fa 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json
index 7b2ef1f9..f0b6b976 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -58,6 +59,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -98,6 +100,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -138,6 +141,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -178,6 +182,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -218,6 +223,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -258,6 +264,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -298,6 +305,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -338,6 +346,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json
index fe9c46d8..f44863b1 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -58,6 +59,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -104,6 +106,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -144,6 +147,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -196,6 +200,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -249,6 +254,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -304,6 +310,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -353,6 +360,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -393,6 +401,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -433,6 +442,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -473,6 +483,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -513,6 +524,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json
index 644e3d9c..707915c8 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -61,6 +62,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -104,6 +106,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -147,6 +150,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -190,6 +194,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -232,6 +237,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -276,6 +282,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -318,6 +325,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json
index 233890a0..9e236bd5 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -76,6 +77,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -118,6 +120,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -160,6 +163,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json b/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json
index cfa40882..cc3269ce 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json
@@ -31,6 +31,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -58,6 +59,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -114,6 +116,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -142,6 +145,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -199,6 +203,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -230,6 +235,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -289,6 +295,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -317,6 +324,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json
index 39175043..9851d54d 100644
--- a/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json
+++ b/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json
@@ -18,6 +18,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -61,6 +62,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -90,6 +92,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -136,6 +139,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
@@ -165,6 +169,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-unused-local-typedefs",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/bisect.json b/compiler_wrapper/testdata/cros_hardened_golden/bisect.json
index 91788bed..fac6fd4f 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/bisect.json
@@ -26,6 +26,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -96,6 +97,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -167,6 +169,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json
index 11b3c9ec..cd188ba5 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -81,6 +82,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -142,6 +144,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -203,6 +206,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -263,6 +267,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -323,6 +328,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -383,6 +389,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -443,6 +450,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -503,6 +511,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_maincc_target_specific.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_maincc_target_specific.json
index 0b893156..09b3dbf3 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_maincc_target_specific.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -79,6 +80,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -138,6 +140,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -197,6 +200,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -255,6 +259,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -313,6 +318,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -371,6 +377,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -429,6 +436,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -487,6 +495,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_path.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_path.json
index 0e74e0e9..88e62ba6 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_path.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_path.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -79,6 +80,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -144,6 +146,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -203,6 +206,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -274,6 +278,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -345,6 +350,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -414,6 +420,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -482,6 +489,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -541,6 +549,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -600,6 +609,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -659,6 +669,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -718,6 +729,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_sanitizer_args.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_sanitizer_args.json
index 47c7dec1..b9573920 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_sanitizer_args.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_sanitizer_args.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -81,6 +82,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -142,6 +144,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -203,6 +206,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -264,6 +268,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -324,6 +329,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -386,6 +392,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -446,6 +453,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
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 15a42434..65733360 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_specific_args.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -97,6 +98,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -158,6 +160,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -219,6 +222,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_sysroot_wrapper_common.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_sysroot_wrapper_common.json
index 7f715c3e..e2bd5d2f 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clang_sysroot_wrapper_common.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_sysroot_wrapper_common.json
@@ -53,6 +53,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -115,6 +116,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -172,6 +174,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -233,6 +236,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -294,6 +298,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -353,6 +358,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clangtidy.json b/compiler_wrapper/testdata/cros_hardened_golden/clangtidy.json
index f01711a1..dcad603d 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/clangtidy.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/clangtidy.json
@@ -32,6 +32,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -141,6 +143,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -182,6 +185,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -252,6 +256,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -296,6 +301,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -368,6 +374,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -409,6 +416,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_hardened_golden/force_disable_werror.json
index 914a5121..ab17a915 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/force_disable_werror.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/force_disable_werror.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -82,6 +83,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -130,6 +132,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -195,6 +198,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -243,6 +247,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json b/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
index 925d965e..719261f7 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -100,6 +101,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -179,6 +181,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -241,6 +244,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json
index 91788bed..fac6fd4f 100644
--- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json
@@ -26,6 +26,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -96,6 +97,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -167,6 +169,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clang_path.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clang_path.json
index 0e74e0e9..88e62ba6 100644
--- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clang_path.json
+++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clang_path.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -79,6 +80,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -144,6 +146,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -203,6 +206,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -274,6 +278,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -345,6 +350,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -414,6 +420,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -482,6 +489,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -541,6 +549,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -600,6 +609,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -659,6 +669,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -718,6 +729,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clangtidy.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clangtidy.json
index f01711a1..dcad603d 100644
--- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clangtidy.json
+++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/clangtidy.json
@@ -32,6 +32,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -141,6 +143,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -182,6 +185,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -252,6 +256,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -296,6 +301,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -368,6 +374,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -409,6 +416,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
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 914a5121..ab17a915 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
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -82,6 +83,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -130,6 +132,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -195,6 +198,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -243,6 +247,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/gcc_clang_syntax.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/gcc_clang_syntax.json
index 925d965e..719261f7 100644
--- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/gcc_clang_syntax.json
+++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/gcc_clang_syntax.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -100,6 +101,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -179,6 +181,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -241,6 +244,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_noccache_golden/bisect.json b/compiler_wrapper/testdata/cros_hardened_noccache_golden/bisect.json
index a31df4f0..783d8650 100644
--- a/compiler_wrapper/testdata/cros_hardened_noccache_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_hardened_noccache_golden/bisect.json
@@ -25,6 +25,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -91,6 +92,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -158,6 +160,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_noccache_golden/clang_path.json b/compiler_wrapper/testdata/cros_hardened_noccache_golden/clang_path.json
index f6e9f099..95c1e482 100644
--- a/compiler_wrapper/testdata/cros_hardened_noccache_golden/clang_path.json
+++ b/compiler_wrapper/testdata/cros_hardened_noccache_golden/clang_path.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -131,6 +133,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -184,6 +187,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -249,6 +253,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -315,6 +320,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -383,6 +389,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -445,6 +452,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -498,6 +506,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -551,6 +560,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -604,6 +614,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -657,6 +668,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_noccache_golden/clangtidy.json b/compiler_wrapper/testdata/cros_hardened_noccache_golden/clangtidy.json
index f01711a1..dcad603d 100644
--- a/compiler_wrapper/testdata/cros_hardened_noccache_golden/clangtidy.json
+++ b/compiler_wrapper/testdata/cros_hardened_noccache_golden/clangtidy.json
@@ -32,6 +32,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -141,6 +143,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -182,6 +185,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -252,6 +256,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -296,6 +301,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -368,6 +374,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -409,6 +416,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_noccache_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_hardened_noccache_golden/force_disable_werror.json
index ffddcd7f..7fef9a1d 100644
--- a/compiler_wrapper/testdata/cros_hardened_noccache_golden/force_disable_werror.json
+++ b/compiler_wrapper/testdata/cros_hardened_noccache_golden/force_disable_werror.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -75,6 +76,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -117,6 +119,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -176,6 +179,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -218,6 +222,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_hardened_noccache_golden/gcc_clang_syntax.json b/compiler_wrapper/testdata/cros_hardened_noccache_golden/gcc_clang_syntax.json
index a1f9b5ce..f0469d47 100644
--- a/compiler_wrapper/testdata/cros_hardened_noccache_golden/gcc_clang_syntax.json
+++ b/compiler_wrapper/testdata/cros_hardened_noccache_golden/gcc_clang_syntax.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -95,6 +96,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -174,6 +176,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
@@ -236,6 +239,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"--unwindlib=libunwind",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
index 1dd6484b..8c25b715 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
@@ -26,6 +26,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -89,6 +90,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -153,6 +155,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_ftrapv_maincc_target_specific.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_ftrapv_maincc_target_specific.json
index 7886eaf0..f81d88c6 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_ftrapv_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_ftrapv_maincc_target_specific.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -74,6 +75,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -128,6 +130,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -182,6 +185,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -236,6 +240,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -289,6 +294,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -343,6 +349,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -397,6 +404,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -450,6 +458,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json
index 96545c5b..5d8f5bea 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -124,6 +126,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -176,6 +179,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -228,6 +232,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -279,6 +284,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -331,6 +337,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -383,6 +390,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -434,6 +442,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_path.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_path.json
index 3c1dfbd1..768f2b28 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_path.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_path.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -72,6 +73,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -130,6 +132,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -182,6 +185,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -246,6 +250,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -310,6 +315,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -372,6 +378,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -433,6 +440,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -485,6 +493,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -537,6 +546,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -589,6 +599,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -641,6 +652,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sanitizer_args.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sanitizer_args.json
index 39450d65..10329a58 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sanitizer_args.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_sanitizer_args.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -75,6 +76,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -130,6 +132,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -185,6 +188,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -240,6 +244,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -294,6 +299,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -350,6 +356,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -404,6 +411,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_specific_args.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_specific_args.json
index 85cf01d9..be4f57a5 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_specific_args.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_specific_args.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -90,6 +91,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -144,6 +146,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -198,6 +201,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
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 a9c96d82..4f2bddb6 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
@@ -50,6 +50,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -105,6 +106,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -155,6 +157,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -209,6 +212,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -264,6 +268,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -318,6 +323,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clangtidy.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clangtidy.json
index 7b99aa31..e85c065f 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/clangtidy.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clangtidy.json
@@ -32,6 +32,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -65,6 +66,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -127,6 +129,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -161,6 +164,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -224,6 +228,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -261,6 +266,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -326,6 +332,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -360,6 +367,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_nonhardened_golden/force_disable_werror.json
index c7fe5592..7e4b4d6f 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/force_disable_werror.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/force_disable_werror.json
@@ -20,6 +20,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -75,6 +76,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -116,6 +118,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -174,6 +177,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -215,6 +219,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/gcc_clang_syntax.json b/compiler_wrapper/testdata/cros_nonhardened_golden/gcc_clang_syntax.json
index 492215af..daa023fc 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/gcc_clang_syntax.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/gcc_clang_syntax.json
@@ -19,6 +19,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -90,6 +91,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -159,6 +161,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",
@@ -214,6 +217,7 @@
"-fdebug-default-version=5",
"-Wno-int-conversion",
"-Wno-incompatible-function-pointer-types",
+ "-Wno-error=vla-cxx-extension",
"-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
"-fclang-abi-compat=17",
"-Wno-section",