forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
.. | ||
Inputs | ||
coro-alloc.cpp | ||
coro-always-inline.cpp | ||
coro-await-domination.cpp | ||
coro-await-resume-eh.cpp | ||
coro-await.cpp | ||
coro-builtins-err.c | ||
coro-builtins.c | ||
coro-cleanup.cpp | ||
coro-dest-slot.cpp | ||
coro-dwarf.cpp | ||
coro-eh-cleanup.cpp | ||
coro-gro-nrvo.cpp | ||
coro-gro.cpp | ||
coro-lambda.cpp | ||
coro-newpm-pipeline.cpp | ||
coro-params.cpp | ||
coro-promise-dtor.cpp | ||
coro-ret-void.cpp | ||
coro-return-voidtype-initlist.cpp | ||
coro-return.cpp | ||
coro-symmetric-transfer-01.cpp | ||
coro-symmetric-transfer-02.cpp | ||
coro-unhandled-exception.cpp | ||
microsoft-abi-operator-coawait.cpp |