[libcxx-commits] [PATCH] D148736: [libc++] Adjust D_LIBCPP_ENABLE_ASSERTIONS defines in exception_guard tests
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 20 04:49:20 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdd0b7a59eb48: [libc++] Adjust D_LIBCPP_ENABLE_ASSERTIONS defines in exception_guard tests (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148736/new/
https://reviews.llvm.org/D148736
Files:
libcxx/test/libcxx/utilities/assert.exception_guard.no_exceptions.pass.cpp
libcxx/test/libcxx/utilities/exception_guard.no_exceptions.pass.cpp
Index: libcxx/test/libcxx/utilities/exception_guard.no_exceptions.pass.cpp
===================================================================
--- libcxx/test/libcxx/utilities/exception_guard.no_exceptions.pass.cpp
+++ libcxx/test/libcxx/utilities/exception_guard.no_exceptions.pass.cpp
@@ -8,7 +8,7 @@
// UNSUPPORTED: c++03
-// ADDITIONAL_COMPILE_FLAGS: -fno-exceptions -D_LIBCPP_ENABLE_ASSERTIONS
+// ADDITIONAL_COMPILE_FLAGS: -fno-exceptions
#include <utility>
Index: libcxx/test/libcxx/utilities/assert.exception_guard.no_exceptions.pass.cpp
===================================================================
--- libcxx/test/libcxx/utilities/assert.exception_guard.no_exceptions.pass.cpp
+++ libcxx/test/libcxx/utilities/assert.exception_guard.no_exceptions.pass.cpp
@@ -10,7 +10,7 @@
// REQUIRES: has-unix-headers
// XFAIL: availability-verbose_abort-missing
-// ADDITIONAL_COMPILE_FLAGS: -fno-exceptions -D_LIBCPP_ENABLE_ASSERTIONS
+// ADDITIONAL_COMPILE_FLAGS: -fno-exceptions -D_LIBCPP_ENABLE_ASSERTIONS=1
// ADDITIONAL_COMPILE_FLAGS: -Wno-private-header
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148736.515284.patch
Type: text/x-patch
Size: 1083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230420/c345a2c9/attachment.bin>
More information about the libcxx-commits
mailing list