[PATCH] [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts

Gor Nishanov via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 17:42:43 PDT 2016

Currently the -fcoroutines flag is a CC1 only flag. It really should be
both a Driver and CC1 flag. This patch fixes the option and adds tests for
the new options.

Also adds a __has_feature for coroutines.
Patch is mostly by Eric Fiselier
Meticulous and painstaking extraction from the larger coroutine branch by
Gor Nishanov


Switching to lowercase [coroutines] tag in the title, as most of the
coroutine commits in cfe were done with lowercase tag.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160929/ae5f01fa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flag-rename.patch
Type: text/x-patch
Size: 7295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160929/ae5f01fa/attachment-0001.bin>

More information about the cfe-commits mailing list