[libcxx-commits] [libcxx] eb38190 - [libc++][oss-fuzz] Updates C++ version used. (#87531)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 4 08:25:48 PDT 2024
Author: Mark de Wever
Date: 2024-04-04T17:25:44+02:00
New Revision: eb3819073ea7aa6ee06b698da5e8f8a9d08dff75
URL: https://github.com/llvm/llvm-project/commit/eb3819073ea7aa6ee06b698da5e8f8a9d08dff75
DIFF: https://github.com/llvm/llvm-project/commit/eb3819073ea7aa6ee06b698da5e8f8a9d08dff75.diff
LOG: [libc++][oss-fuzz] Updates C++ version used. (#87531)
This version update allows testing of `std::format` and the chrono
timezone parsing in oss-fuzz.
Added:
Modified:
libcxx/utils/ci/oss-fuzz.sh
Removed:
################################################################################
diff --git a/libcxx/utils/ci/oss-fuzz.sh b/libcxx/utils/ci/oss-fuzz.sh
index e5723406a9ff3b..03b59b294041fd 100755
--- a/libcxx/utils/ci/oss-fuzz.sh
+++ b/libcxx/utils/ci/oss-fuzz.sh
@@ -23,7 +23,7 @@ for test in libcxx/test/libcxx/fuzzing/*.pass.cpp; do
exe="$(basename ${test})"
exe="${exe%.pass.cpp}"
${CXX} ${CXXFLAGS} \
- -std=c++14 \
+ -std=c++20 \
-DLIBCPP_OSS_FUZZ \
-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS \
-nostdinc++ -cxx-isystem ${INSTALL}/include/c++/v1 \
More information about the libcxx-commits
mailing list