[clang] patch for 18645

Nathan Sidwell nathan at acm.org
Sat Jan 10 10:18:31 PST 2015


On 01/09/15 23:27, Richard Smith wrote:

> You can make the test a bit simpler:
>
>    template<typename F> F Quux(F &&f);
>    float (&Baz)(float&&) = Quux(Quux<float>);

Thanks.  I went with 'auto Baz = ...'

> (The BoundMemberTy check is missing compared to the original, but it looks like
> that never actually did anything here, because we'd fall through into the second
> copy of the 'create an lvalue reference' code regardless.)

right.  sorry I forgot to mention that.

committed

nathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18645-1.patch
Type: text/x-patch
Size: 3680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150110/406fd146/attachment.bin>


More information about the cfe-commits mailing list