[cfe-commits] [PATCH] Failure to detect abstract type

Richard Smith richard at metafoo.co.uk
Sun May 6 12:40:45 PDT 2012


I don't really like using the 'allocating an abstract type' diagnostic for
creation of a temporary, but it seems we already do so for function-style

On Sun, May 6, 2012 at 12:27 PM, Aaron Ballman <aaron at aaronballman.com>wrote:

> This is a patch to fix PR12658, where clang fails to detect an illegal
> instantiation of an abstract type when using a function-style cast to
> create the object.  I've also included a test case to demonstrate the
> fix.
> ~Aaron
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120506/543e4c68/attachment.html>

More information about the cfe-commits mailing list