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
..
2021-09-03 10:22:55 +08:00
2020-06-21 13:59:11 +01:00
2021-03-23 13:15:19 -04:00
2021-06-30 09:58:06 -04:00
2020-06-21 13:59:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-07-08 16:39:11 +01:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-11-09 16:39:59 +01:00
2020-06-21 13:59:11 +01:00
2021-07-01 12:41:18 -04:00
2020-07-06 22:03:08 +01:00
2020-07-03 13:59:23 +01:00
2020-08-12 09:20:23 +02:00
2020-07-06 22:03:08 +01:00
2021-05-20 17:04:29 -04:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2021-02-11 10:18:16 -05:00
2020-07-06 22:03:08 +01:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2021-06-10 14:51:08 +02:00
2021-02-22 14:16:43 -08:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2020-08-06 16:56:39 -07:00
2020-09-18 14:16:43 +07:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2021-06-09 12:27:10 +02:00
2021-06-10 10:18:52 +01:00
2020-07-02 14:13:35 +01:00
2021-03-03 10:05:39 -05:00
2021-01-22 11:43:58 -05:00
2020-06-21 13:59:11 +01:00
2021-06-09 12:27:10 +02:00
2020-08-07 09:58:23 -04:00
2020-09-16 13:37:08 -05:00
2020-09-16 13:37:09 -05:00
2021-08-27 13:12:14 -05:00
2020-06-23 14:43:04 -07:00
2020-09-16 13:37:10 -05:00
2020-10-07 00:06:51 -05:00
2020-09-16 13:37:09 -05:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-08-07 09:58:23 -04:00
2020-09-16 13:37:09 -05:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-08-07 09:58:23 -04:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-12-15 15:14:11 -06:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-02-22 14:16:43 -08:00
2021-02-22 14:16:43 -08:00
2020-10-12 11:24:45 +02:00
2021-08-10 15:16:52 +02:00
2020-10-27 09:42:19 +01:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-07-06 22:03:08 +01:00
2021-06-09 12:27:10 +02:00
2020-06-23 00:07:00 -07:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2021-08-03 11:52:52 +02:00
2021-06-08 11:11:46 -07:00
2021-02-03 11:41:38 -08:00
2021-03-25 17:05:36 -07:00
2021-01-08 11:37:27 +00:00
2020-10-31 21:46:45 -07:00
2021-08-13 13:20:11 +03:00
2020-07-16 12:50:25 +02:00
2020-06-21 13:59:11 +01:00
2020-12-04 15:53:24 -08:00
2020-09-16 17:54:57 +00:00
2020-09-15 20:15:34 +00:00
2020-09-15 20:15:34 +00:00
2020-09-24 15:17:35 +00:00
2020-09-25 22:33:53 +00:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-10-30 07:30:06 -07:00
2020-09-26 17:59:39 +07:00
2021-09-03 10:22:55 +08:00
2021-09-03 10:22:55 +08:00
2020-12-07 11:29:57 -08:00
2020-08-24 09:58:37 -04:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-06-23 00:07:00 -07:00
2020-06-21 13:59:11 +01:00
2020-07-29 17:24:53 +03:00
2021-06-09 12:27:10 +02:00
2021-06-09 12:27:10 +02:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00
2020-07-06 22:03:08 +01:00
2021-01-06 07:17:12 -08:00
2020-06-21 13:59:11 +01:00
2020-07-16 12:07:18 -07:00
2021-04-04 07:59:22 +02:00
2020-06-21 13:59:11 +01:00
2020-06-21 13:59:11 +01:00