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

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 19:11:27 PDT 2023


shafik added a comment.

In D156247#4536034 <https://reviews.llvm.org/D156247#4536034>, @tahonermann wrote:

>> You are absolutely right, -fno-coroutines would totally work for us, had it been available.
>
> Good. Gcc handles `-fcoroutines` and `-fno-coroutines` as I would expect (https://godbolt.org/z/7zEMd7cdW), so matching gcc behavior makes sense in any case. I would expect implementation to be quite straight forward, so I recommend we head in that direction.

This feels like a much cleaner solution to me as well.


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