Eric Fiselier
c80ef6ed28
Guard <experimental/coroutine> against older Clang versions.
...
Clang started providing -fcoroutines and defining __cpp_coroutines
way before it implemented the __builtin_coro_foo functions. This
means that simply checking if __cpp_coroutines is not a sufficient
way of detecting the actual feature.
This patch implements _LIBCPP_HAS_NO_COROUTINES which implements
a slightly more complex feature check. Specifically it requires
__cpp_coroutines >= 201703L, which only holds for Clang 5.0 built
after 2017/05/24.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@303956 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-26 01:52:59 +00:00
..
2017-05-26 01:52:59 +00:00
2017-05-10 21:40:58 +00:00
2017-05-10 21:30:04 +00:00
2017-01-06 21:42:58 +00:00
2016-03-09 15:39:39 +00:00
2017-05-08 22:02:43 +00:00
2017-05-26 01:52:59 +00:00
2017-01-06 20:05:40 +00:00
2017-01-16 21:01:00 +00:00
2017-01-04 23:56:00 +00:00
2017-04-19 01:28:47 +00:00
2015-08-26 20:15:02 +00:00
2017-04-19 01:23:04 +00:00
2017-01-13 18:29:56 +00:00
2017-05-08 22:02:43 +00:00
2017-05-10 20:57:45 +00:00
2017-01-04 23:56:00 +00:00
2016-10-25 19:33:14 +00:00
2017-04-19 01:23:04 +00:00
2017-01-07 03:01:24 +00:00
2016-12-31 18:13:34 +00:00
2017-01-26 06:58:29 +00:00
2017-05-25 22:37:15 +00:00
2017-04-19 01:23:04 +00:00
2017-04-19 01:23:39 +00:00
2017-05-10 21:40:58 +00:00
2017-05-25 14:20:26 +00:00
2017-04-12 22:51:27 +00:00
2017-04-16 02:50:40 +00:00
2017-04-20 23:22:46 +00:00
2017-04-19 01:34:08 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2016-04-04 22:49:20 +00:00
2015-10-08 20:37:11 +00:00
2015-10-08 21:17:21 +00:00
2015-10-08 20:37:44 +00:00
2017-03-21 18:38:57 +00:00
2015-10-08 20:38:53 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-06-24 08:44:38 +00:00
2017-01-03 11:18:17 +00:00
2017-04-07 02:20:52 +00:00
2017-01-04 23:56:00 +00:00
2017-01-04 23:56:00 +00:00
2015-10-09 00:26:50 +00:00
2017-03-02 03:22:18 +00:00
2015-10-08 20:41:26 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2017-03-24 05:45:39 +00:00
2011-10-17 20:05:10 +00:00
2017-04-07 02:20:52 +00:00
2017-04-06 04:47:49 +00:00
2016-02-10 00:59:02 +00:00
2011-10-17 20:05:10 +00:00
2015-06-24 08:44:38 +00:00
2017-05-10 20:57:45 +00:00
2016-11-08 03:31:42 +00:00
2015-10-09 19:57:37 +00:00
2017-04-16 03:17:01 +00:00
2015-11-06 06:30:12 +00:00
2017-05-08 01:17:50 +00:00
2015-11-06 06:30:12 +00:00
2017-04-16 04:02:01 +00:00
2017-04-18 23:38:41 +00:00
2017-05-03 21:02:19 +00:00
2017-05-04 17:08:54 +00:00
2017-04-18 23:09:36 +00:00
2016-09-26 20:20:00 +00:00
2016-10-27 15:10:07 +00:00
2017-04-19 01:34:08 +00:00
2017-01-04 23:56:00 +00:00
2015-03-26 14:35:46 +00:00
2017-05-04 17:08:54 +00:00
2017-05-23 18:55:32 +00:00
2017-05-10 20:57:45 +00:00
2016-10-10 15:56:01 +00:00
2017-04-16 03:45:35 +00:00
2017-05-08 22:02:43 +00:00
2016-11-19 01:14:15 +00:00
2017-04-18 21:08:06 +00:00
2017-04-21 23:14:55 +00:00
2017-05-25 15:43:31 +00:00
2017-05-25 23:39:29 +00:00
2017-04-23 16:58:48 +00:00
2017-05-04 17:08:54 +00:00
2017-05-09 00:00:00 +00:00
2017-05-17 15:30:01 +00:00
2017-05-04 17:08:54 +00:00
2017-04-18 21:23:18 +00:00
2017-05-06 02:58:43 +00:00
2017-01-04 23:56:00 +00:00
2017-04-18 23:42:15 +00:00
2017-01-04 23:56:00 +00:00
2017-04-18 20:58:03 +00:00
2015-11-06 06:30:12 +00:00
2017-05-08 01:31:50 +00:00
2017-04-18 23:38:41 +00:00
2017-04-18 21:16:26 +00:00
2016-02-20 00:16:41 +00:00
2017-02-10 01:27:42 +00:00
2016-12-23 23:37:52 +00:00
2016-09-26 20:20:00 +00:00
2017-05-10 20:57:45 +00:00
2017-05-10 20:57:45 +00:00
2017-05-04 17:08:54 +00:00
2017-04-19 00:28:44 +00:00
2017-05-12 03:35:53 +00:00
2016-02-11 23:51:02 +00:00
2017-04-18 23:38:41 +00:00
2017-01-17 03:16:26 +00:00
2011-10-17 20:05:10 +00:00
2017-04-18 23:05:08 +00:00
2017-04-19 01:23:39 +00:00
2017-04-12 23:08:46 +00:00
2017-01-04 23:56:00 +00:00
2017-05-04 17:08:54 +00:00
2017-04-18 22:50:56 +00:00
2017-04-18 22:37:32 +00:00
2017-04-20 01:45:15 +00:00
2017-04-19 00:23:45 +00:00
2017-05-11 07:17:12 +00:00
2017-04-16 02:40:45 +00:00
2017-05-10 20:57:45 +00:00
2015-10-09 19:57:37 +00:00