To allow transition from the TS-specified std::experimental::coroutine_traits to the C++20-specified std::coroutine_traits, we lookup in both places and provide helpful diagnostics. This refactors the code to avoid separate paths to std::experimental lookups. (and therefore makes the subsequent changes I'm going for clearer).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with nit suggestion. Thanks!
clang/lib/Sema/SemaCoroutine.cpp | ||
---|---|---|
1668 | Could we remove the date here? |
Could we remove the date here?