r346065 - Revert r345562: "PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type"

2018-11-02 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Nov 2 19:23:33 2018 New Revision: 346065 URL: http://llvm.org/viewvc/llvm-project?rev=346065=rev Log: Revert r345562: "PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type" This exposes a (known) CodeGen bug: it can't cope with emitting lvalue

Re: r345562 - PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type

2018-11-01 Thread Petr Hosek via cfe-commits
This is triggering an assertion failure in our build, I've filed PR39528 which also has a reproducer. On Mon, Oct 29, 2018 at 7:04 PM Richard Smith via cfe-commits wrote: > > Author: rsmith > Date: Mon Oct 29 19:02:49 2018 > New Revision: 345562 > > URL:

r345562 - PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type

2018-10-29 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Oct 29 19:02:49 2018 New Revision: 345562 URL: http://llvm.org/viewvc/llvm-project?rev=345562=rev Log: PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type nullptr_t does not access memory. We now reuse CK_NullToPointer to represent a conversion from a