r232519 - MS ABI: Delay default constructor closure checking until the outermost class scope ends

Nico Weber thakis at chromium.org
Tue Mar 17 14:12:40 PDT 2015


On Tue, Mar 17, 2015 at 5:07 PM, Reid Kleckner <rnk at google.com> wrote:

> I've reduced it to this:
>
> template <typename T>
> struct SomeTemplate {
>   SomeTemplate(T o = T()) : o(o) {}
>   T o;
> };
> struct __declspec(dllexport) InheritFromTemplate : SomeTemplate<int> {};
>
> This asserts due to isa on a null pointer, but it asserted in the same way
> before my change.
>

It used to not assert at some point at least :-) Maybe it's from r232229
too?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150317/5bdb202d/attachment.html>


More information about the cfe-commits mailing list