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

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 10:44:07 PDT 2023


tahonermann requested changes to this revision.
tahonermann added a comment.
This revision now requires changes to proceed.

> 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.


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