[PATCH] D156247: [Clang] Add a warning on uses of coroutine keywords

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 28 03:18:28 PDT 2023


cor3ntin added a comment.

How does a -cc1 flag alleviate the burden concerns for libc++? It would still be something they would have to support, unless we plan to remove the flag before c++26 and you are happy with the inclusion of `<coroutine>` and `<generator>` producing subpar errors.
However, in the C++26 cycle, `<execution>` (P2300 <https://reviews.llvm.org/P2300>) is going to have a dependency on `<coroutine>`, and it does not seem reasonable for that to lead to errors.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156247/new/

https://reviews.llvm.org/D156247



More information about the cfe-commits mailing list