Sorry, correct patch now attached.

On 4 October 2013 23:40, Rafael Espíndola <[email protected]> wrote:
> I noticed that gcc uses aliases in, for example:
>
> template<typename T>
> struct foobar {
>   foobar() {
>   }
> };
> template struct foobar<void>;
>
> clang is currently way too conservative. It only uses aliases when the
> symbols are strong. It is safe to use aliases to weak symbols, as long
> and the alias itself is also weak.
>
> The attached patch implements that.
>
> Cheers,
> Rafael

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to