[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
Tue May 23 12:07:52 PDT 2023


philnik created this revision.
philnik added reviewers: ldionne, Mordante.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

@Mordante noticed that this was missing while making `<format>` non-experimental.


Repository:
  rG LLVM Github Monorepo

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
@@ -26,3 +26,7 @@
 #ifdef _LIBCPP_HAS_NO_INCOMPLETE_FORMAT
 #   error "-fexperimental-library should enable <format>"
 #endif
+
+#ifndef _LIBCPP_HAS_NO_INCOMPLETE_PSTL
+#  error "-fexperimental-library should enable the PSTL"
+#endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151240.524835.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230523/f332e561/attachment.bin>


More information about the libcxx-commits mailing list