[libcxx-commits] [PATCH] D119964: [libc++] Don't warn that coroutines aren't supported when including <experimental/coroutine>

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 3 11:52:25 PST 2022


philnik updated this revision to Diff 412797.
philnik added a comment.

Only upload the new diff


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119964

Files:
  libcxx/include/experimental/coroutine


Index: libcxx/include/experimental/coroutine
===================================================================
--- libcxx/include/experimental/coroutine
+++ libcxx/include/experimental/coroutine
@@ -57,14 +57,6 @@
 #  pragma GCC system_header
 #endif
 
-#ifdef _LIBCPP_HAS_NO_EXPERIMENTAL_COROUTINES
-# if defined(_LIBCPP_WARNING)
-    _LIBCPP_WARNING("<experimental/coroutine> cannot be used with this compiler")
-# else
-#   warning <experimental/coroutine> cannot be used with this compiler
-# endif
-#endif
-
 #ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_COROUTINES
 
 _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL_COROUTINES


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119964.412797.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220303/bcf3c7c9/attachment.bin>


More information about the libcxx-commits mailing list