diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-12-25 13:30:42 -0500 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2022-01-02 15:48:16 -0500 |
commit | b50fea47b6c454581fce89af359f3afe5154986c (patch) | |
tree | 820d17a1393f854871c51417e8764369539e3c4e /llvm/unittests/Support/BinaryStreamTest.cpp | |
parent | 65035e0d06762a80aaf54a21b0e643088e44d411 (diff) | |
download | llvm-b50fea47b6c454581fce89af359f3afe5154986c.zip llvm-b50fea47b6c454581fce89af359f3afe5154986c.tar.gz llvm-b50fea47b6c454581fce89af359f3afe5154986c.tar.bz2 |
[clang] Allow using std::coroutine_traits in std::experimental
This is that diff I was aiming for. When transitioning code from
coroutines-ts to c++20, it can be useful to add a using declaration to
std::experimental pointing to std::coroutine_traits. This permits
that use by checking whether lookup in std::experimentl finds a
different decl to lookup in std. You still get a warning about
std::experimental::coroutine_traits being a thing, just not an error.
Reviewed By: ChuanqiXu
Differential Revision: https://reviews.llvm.org/D115943
Diffstat (limited to 'llvm/unittests/Support/BinaryStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions