diff options
author | Ryan Beltran <ryanbeltran@chromium.org> | 2022-12-22 19:55:50 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-12-22 20:30:25 +0000 |
commit | da72f932dc86f7050b62122c34cce123edcd836d (patch) | |
tree | 1c886950dcb405acb852b057fe15bca32039d42f /compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json | |
parent | 121fd29eea4154dafcd7f1b171e197dbb188997d (diff) | |
download | toolchain-utils-da72f932dc86f7050b62122c34cce123edcd836d.tar.gz |
compiler_wrapper: temporarily reenable removed c++ features
This CL adds -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES in the compiler
wrapper to reenable some removed C++ features for C++17. This should be
removed once we can get rid of all offending usages but is necessary for
now to unblock the next LLVM uprev.
BUG=b:263380440
TEST=go test . -update golden
TEST=CQ in the associated llvm CL
TEST=Verified works as intended in a repro with Compiler Explorer
Change-Id: I5ab45867432eef672aef8202667bc5ede39b86a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/4122447
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/bisect.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json index c4c362b5..e1c638c9 100644 --- a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json +++ b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json @@ -39,6 +39,7 @@ "-fdebug-default-version=5", "-Wno-int-conversion", "-Wno-incompatible-function-pointer-types", + "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES", "-Wno-section", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-static-libgcc", @@ -106,6 +107,7 @@ "-fdebug-default-version=5", "-Wno-int-conversion", "-Wno-incompatible-function-pointer-types", + "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES", "-Wno-section", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-static-libgcc", @@ -176,6 +178,7 @@ "-fdebug-default-version=5", "-Wno-int-conversion", "-Wno-incompatible-function-pointer-types", + "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES", "-Wno-section", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-static-libgcc", |