[PATCH] D51741: [coro]Pass rvalue reference for named local variable to return_value
Tanoy Sinha via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 6 11:38:24 PDT 2018
tks2103 added a comment.
currently changes the behavior for a few cases:
something like
void coro() {
co_return {4};
}
throws `illegal initializer type 'void'`
Repository:
rC Clang
https://reviews.llvm.org/D51741
More information about the cfe-commits
mailing list