[coroutines] Initial stub Sema functionality for handling coroutine await / yield / return.
llvm-svn: 250993
diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp
index c3df773..bd9b9f9 100644
--- a/clang/lib/Parse/ParseExprCXX.cpp
+++ b/clang/lib/Parse/ParseExprCXX.cpp
@@ -1567,8 +1567,8 @@
SourceLocation Loc = ConsumeToken();
ExprResult Expr = ParseAssignmentExpression();
- (void)Loc;
- // FIXME: Pass to Sema.
+ if (!Expr.isInvalid())
+ Expr = Actions.ActOnCoyieldExpr(Loc, Expr.get());
return Expr;
}