[libcxx-commits] [PATCH] D151240: [libc++][PSTL] Make sure that -fexperimental-library enables the PSTL

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 25 08:01:24 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6bc78f0cdba4: [libc++][PSTL] Make sure that -fexperimental-library enables the PSTL (authored by philnik).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151240/new/

https://reviews.llvm.org/D151240

Files:
  libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp


Index: libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp
===================================================================
--- libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp
+++ libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp
@@ -22,3 +22,7 @@
 // ADDITIONAL_COMPILE_FLAGS: -fexperimental-library
 
 #include <version>
+
+#ifdef _LIBCPP_HAS_NO_INCOMPLETE_PSTL
+#  error "-fexperimental-library should enable the PSTL"
+#endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151240.525619.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230525/9e958b59/attachment.bin>


More information about the libcxx-commits mailing list