Chuanqi Xu
2fbd254aa4
[Coroutines] [Clang] Look up coroutine component in std namespace first
...
Summary: Now in libcxx and clang, all the coroutine components are
defined in std::experimental namespace.
And now the coroutine TS is merged into C++20. So in the working draft
like N4892, we could find the coroutine components is defined in std
namespace instead of std::experimental namespace.
And the coroutine support in clang seems to be relatively stable. So I
think it may be suitable to move the coroutine component into the
experiment namespace now.
But move the coroutine component into the std namespace may be an break
change. So I planned to split this change into two patch. One in clang
and other in libcxx.
This patch would make clang lookup coroutine_traits in std namespace
first. For the compatibility consideration, clang would lookup in
std::experimental namespace if it can't find definitions in std
namespace and emit a warning in this case. So the existing codes
wouldn't be break after update compiler.
Test Plan: check-clang, check-libcxx
Reviewed By: lxfind
Differential Revision: https://reviews.llvm.org/D108696
2021-09-03 10:22:55 +08:00
..
2020-08-20 14:19:52 +02:00
2016-03-30 21:30:30 +00:00
2015-07-08 01:00:30 +00:00
2020-06-29 16:48:53 +00:00
2021-01-13 10:53:24 -05:00
2020-12-30 20:52:01 -08:00
2015-07-08 01:00:30 +00:00
2015-07-08 01:00:30 +00:00
2019-06-03 15:57:25 +00:00
2017-06-27 21:31:31 +00:00
2018-10-01 21:51:28 +00:00
2018-08-10 15:09:24 +00:00
2020-06-11 13:37:01 -04:00
2020-12-31 00:27:11 -08:00
2016-12-09 17:32:52 +00:00
2018-08-06 21:48:20 +00:00
2015-11-03 01:15:46 +00:00
2016-01-06 22:34:54 +00:00
2020-12-30 20:52:01 -08:00
2016-07-13 20:35:26 +00:00
2020-05-07 10:11:06 -04:00
2018-03-16 20:53:13 +00:00
2020-02-03 10:09:39 -08:00
2019-04-08 19:52:45 +00:00
2015-07-08 01:00:30 +00:00
2015-05-08 17:39:48 +00:00
2015-08-19 20:49:38 +00:00
2020-04-27 21:26:13 +02:00
2020-07-22 10:21:23 +02:00
2021-09-03 10:22:55 +08:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-07-31 17:19:44 -07:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-09-05 14:26:43 +02:00
2016-07-14 00:11:03 +00:00
2016-07-14 00:11:03 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-10-19 00:04:43 +00:00
2020-06-21 17:05:52 +02:00
2020-07-30 09:25:15 +02:00
2020-07-31 17:19:44 -07:00
2020-06-22 20:19:20 -07:00
2018-09-28 18:44:09 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2019-05-04 10:49:46 +00:00
2016-03-08 00:32:55 +00:00
2020-06-21 17:05:52 +02:00
2020-12-04 09:02:50 +01:00
2020-10-21 13:21:41 -07:00
2019-06-11 17:50:32 +00:00
2020-06-21 17:05:52 +02:00
2020-04-05 23:32:03 -04:00
2016-01-07 20:59:26 +00:00
2020-10-16 14:34:35 -07:00
2020-06-21 17:05:52 +02:00
2021-03-17 08:59:04 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-08-26 19:29:30 +02:00
2020-08-26 19:29:30 +02:00
2014-07-07 06:38:20 +00:00
2015-06-29 17:29:50 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2014-08-11 22:11:07 +00:00
2020-04-16 12:35:45 +02:00
2021-01-18 19:19:57 +01:00
2018-02-23 19:30:48 +00:00
2020-06-21 17:05:52 +02:00
2020-12-09 12:22:35 -08:00
2020-12-09 12:22:35 -08:00
2017-04-12 22:12:15 +00:00
2017-04-12 22:12:15 +00:00
2020-06-21 17:05:52 +02:00
2020-07-31 17:19:44 -07:00
2020-07-31 17:19:44 -07:00
2015-09-01 02:35:58 +00:00
2015-10-08 04:24:12 +00:00
2019-10-21 16:44:37 +00:00
2020-03-20 15:15:56 -07:00
2020-12-09 12:22:35 -08:00
2016-12-09 17:56:04 +00:00
2020-06-21 19:00:42 +02:00
2020-06-12 16:09:38 +02:00
2015-06-10 00:27:52 +00:00
2020-08-16 15:44:51 -07:00
2018-03-16 20:36:49 +00:00
2017-03-29 17:58:41 +00:00
2017-03-01 19:18:42 +00:00
2020-12-30 20:52:01 -08:00
2020-06-08 11:54:01 -04:00
2020-04-14 13:20:49 -05:00
2015-12-08 03:21:47 +00:00
2021-05-16 10:42:52 -07:00
2020-06-21 17:05:52 +02:00
2015-03-03 23:36:57 +00:00
2020-06-21 17:05:52 +02:00
2018-04-22 00:04:35 +00:00
2021-08-24 17:03:06 -07:00
2020-06-21 17:05:52 +02:00
2019-08-09 17:13:56 +00:00
2017-12-04 22:28:45 +00:00
2017-12-04 22:28:45 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2016-02-16 19:16:28 +00:00
2018-01-09 09:32:53 +00:00
2019-09-10 20:15:45 +00:00
2015-06-16 00:19:29 +00:00
2015-06-16 00:19:29 +00:00
2020-06-21 17:05:52 +02:00
2021-07-29 19:21:43 +00:00
2020-01-14 22:19:30 -08:00
2019-11-26 20:28:52 -08:00
2018-08-01 23:51:53 +00:00
2016-09-07 18:40:20 +00:00
2020-03-10 14:08:28 -07:00
2019-09-07 00:34:43 +00:00
2015-07-23 14:45:41 +00:00
2015-07-23 14:45:41 +00:00
2015-07-23 14:45:41 +00:00
2016-12-23 01:24:49 +00:00
2018-08-17 22:18:08 +00:00
2015-07-07 03:58:42 +00:00
2015-06-29 17:29:50 +00:00
2015-06-29 17:29:50 +00:00
2015-07-07 03:58:54 +00:00
2018-06-08 00:30:00 +00:00
2016-12-18 07:26:01 +00:00
2017-02-16 12:27:47 +00:00
2016-05-16 17:06:34 +00:00
2015-09-04 21:44:32 +00:00
2018-09-11 17:10:44 +00:00
2018-09-11 17:10:44 +00:00
2018-09-11 17:10:44 +00:00
2020-06-21 17:05:52 +02:00
2020-06-21 17:05:52 +02:00
2018-09-11 17:10:44 +00:00
2018-07-05 17:23:15 +00:00
2018-07-05 17:23:15 +00:00
2018-07-05 17:23:15 +00:00
2018-07-05 17:23:15 +00:00
2018-08-17 21:16:21 +00:00
2019-04-29 21:21:17 +00:00
2019-04-29 21:21:17 +00:00
2015-07-08 01:00:30 +00:00
2015-10-08 04:24:12 +00:00
2014-05-19 17:58:28 +00:00
2020-06-21 17:05:52 +02:00
2016-04-22 18:46:33 +00:00
2016-06-23 13:45:33 +00:00
2016-10-19 00:06:49 +00:00
2016-06-23 13:45:33 +00:00
2020-06-21 17:05:52 +02:00
2020-10-30 07:30:06 -07:00
2018-08-03 01:21:16 +00:00
2016-03-02 23:22:00 +00:00
2016-07-25 17:17:06 +00:00
2014-07-28 14:33:17 +00:00
2017-07-28 14:41:21 +00:00
2016-03-03 00:17:35 +00:00
2018-02-23 19:30:48 +00:00
2020-08-20 14:19:52 +02:00
2020-06-21 17:05:52 +02:00
2016-07-05 17:54:40 +00:00
2014-12-12 06:37:55 +00:00
2020-06-21 17:05:52 +02:00
2014-10-27 12:37:26 +00:00
2021-02-22 14:16:43 -08:00
2015-07-08 01:00:30 +00:00
2017-07-31 13:37:50 +00:00
2015-07-08 01:00:30 +00:00
2020-03-09 19:57:03 +00:00
2019-08-26 19:44:07 +00:00
2021-05-03 14:03:17 +02:00
2020-06-21 17:05:52 +02:00
2018-03-16 20:36:49 +00:00
2016-03-28 03:19:50 +00:00
2015-09-17 20:55:33 +00:00
2015-09-17 20:55:33 +00:00
2015-09-17 20:55:33 +00:00
2019-10-15 14:23:55 +00:00
2021-08-24 17:03:06 -07:00