[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 09:18:02 PDT 2023


tahonermann added a comment.

At first, it sounded to me like the option that would best suit Google's needs is `-fno-coroutines`. However:

- I see that Google does have some limited use of coroutines; perhaps that could be enabled on a per-TU or project basis by the build system? However...
- The `-fno-coroutines` option doesn't seem to work; https://godbolt.org/z/Phhqjd9so (Nor does `-fcoroutines` work to enable standard library coroutine features in pre-C++20 language modes).


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