r187735 - Implement C++'s restrictions on the type of an expression passed to a vararg

John McCall rjmccall at apple.com
Mon Aug 5 13:19:20 PDT 2013


On Aug 5, 2013, at 11:49 AM, Richard Smith <richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Mon Aug  5 13:49:43 2013
> New Revision: 187735
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=187735&view=rev
> Log:
> Implement C++'s restrictions on the type of an expression passed to a vararg
> function: it can't be 'void' and it can't be an initializer list. We give a
> hard error for these rather than treating them as undefined behavior (we can
> and probably should do the same for non-POD types in C++11, but as of this
> change we don't).

Doesn’t this change SFINAE behavior?

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130805/3d33a230/attachment.html>


More information about the cfe-commits mailing list