GorNishanov added inline comments.
> DiagnosticSemaKinds.td:8569 > "'%0' cannot be used in a varargs function">; > def ext_coroutine_without_co_await_co_yield : ExtWarn< > "'co_return' used in a function " I am wondering, if we can handle all four cases when function can be a coroutine. co_await co_yield co_return for co_await future<int> f() { co_return 42; } // is a valid coroutine per P0057R5 https://reviews.llvm.org/D25078 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits