[PATCH] D65043: [Format] Add C++20 standard to style options
Arthur O'Dwyer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 13 09:26:21 PDT 2019
Quuxplusone added a comment.
In D65043#1669410 <https://reviews.llvm.org/D65043#1669410>, @sammccall wrote:
> (For actual coroutine support, treating `co_return` and `co_yield` like `return` everywhere might make sense)
I agree, with one nit. `co_return` should be treated like `return`, but `co_yield` and `co_await` should both be treated like `throw` (because they can be subexpressions).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65043/new/
https://reviews.llvm.org/D65043
More information about the cfe-commits
mailing list