Files
clang-p2996/clang/test/CodeGenCXX
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
..
2011-08-19 23:08:33 +00:00
2011-08-19 23:08:33 +00:00
2011-08-19 23:08:33 +00:00
2011-08-19 23:08:33 +00:00
2011-08-19 23:08:33 +00:00
2011-08-19 23:08:33 +00:00
2013-12-03 14:06:23 +00:00
2018-02-23 19:30:48 +00:00
2013-12-03 14:16:22 +00:00
2020-12-08 10:28:26 +00:00
2020-12-08 10:28:26 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2010-08-21 02:46:28 +00:00
2018-03-20 20:42:55 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2013-08-20 22:01:44 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2014-09-26 06:28:25 +00:00
2014-12-22 18:13:07 +00:00
2018-02-23 19:30:48 +00:00
2017-08-09 06:07:08 +00:00
2018-05-17 18:34:05 +00:00
2018-02-23 19:30:48 +00:00
2018-03-22 22:57:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2013-08-22 18:45:40 +00:00
2019-06-23 17:42:18 +00:00
2020-12-08 10:28:26 +00:00
2020-03-19 00:26:38 -04:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00