[PATCH] D78134: [Sema] Don't apply an lvalue-to-rvalue conversion to a discarded-value expression if it has an array type
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 18:14:25 PDT 2020
rsmith added a comment.
In D78134#1985467 <https://reviews.llvm.org/D78134#1985467>, @ahatanak wrote:
> In D78134#1982291 <https://reviews.llvm.org/D78134#1982291>, @rsmith wrote:
>
> > So far, the direction the wind is blowing is that attempting to perform an lvalue-to-rvalue conversion on an array should be a no-op. (That's weirdly different from the behavior on a class, but so be it.)
>
>
> Is this the final decision? Or should I wait until we know for sure that this is a no-op and doesn't cause an lvalue-to-rvalue conversion?
We won't know for months, but it seems reasonable to assume that this will be the final decision.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78134/new/
https://reviews.llvm.org/D78134
More information about the cfe-commits
mailing list