Gor Nishanov
4ffb434ca8
[coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts
...
Summary:
Also makes -fcoroutines_ts to be both a Driver and CC1 flag.
Patch mostly by EricWF.
Reviewers: rnk, cfe-commits, rsmith, EricWF
Subscribers: mehdi_amini
Differential Revision: https://reviews.llvm.org/D25130
llvm-svn: 283064
2016-10-02 03:31:58 +00:00
Richard Smith
d7bed4d660
[coroutines] Factor out co_await representation into common base class for co_await and co_yield, and use it to hold await_* calls.
...
llvm-svn: 253811
2015-11-22 02:57:17 +00:00
Richard Smith
9f690bd80b
[coroutines] Creation of promise object, lookup of operator co_await, building
...
of await_* calls, and AST representation for same.
llvm-svn: 251387
2015-10-27 06:02:45 +00:00
Richard Smith
9be594e36d
[coroutines] Add overloaded unary 'operator co_await'.
...
llvm-svn: 250991
2015-10-22 05:12:22 +00:00
Richard Smith
0e304ea8a1
[coroutines] Add parsing support for co_await expression, co_yield expression,
...
co_await modifier on range-based for loop, co_return statement.
llvm-svn: 250985
2015-10-22 04:46:14 +00:00