[cfe-commits] [patch] Fix PR6353 and some related issues

Rafael Espindola espindola at google.com
Tue Mar 2 11:44:00 PST 2010


> I'd rather the code be in Sema::SetBaseOrMemberInitializers.

A new patch is attached. One thing I could not change is

 case TSK_ExplicitInstantiationDeclaration:
       return false;

If I do that we fail on

----------------------------------------------
class Option {
virtual ~Option() {
}
};
template <class DataType> class opt : public Option {
virtual bool handleOccurrence() {
}
};
__extension__ extern template class opt<unsigned>;
template class opt<unsigned>;
----------------------------------------------

Do you think the patch is an improvement as is? I will be out most of
the rest of the week, so the sooner this is in the sooner we can track
what else is broken for bootstraping on ELF.

>        - Doug
>
>


Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR6353.patch
Type: application/octet-stream
Size: 9719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100302/44b053cf/attachment.obj>


More information about the cfe-commits mailing list