[cfe-commits] [PATCH] Mangler does not mangle extern "C"'d symbols in ::std correctly

John McCall rjmccall at apple.com
Wed Mar 7 21:41:48 PST 2012


On Mar 2, 2012, at 7:08 AM, James Molloy wrote:
> The attached patch fixes a bug in which a name in namespace ::std which is
> within an extern "C" {} block* would not be mangled correctly. The patch
> itself is simple, and comes from the lack of a call to
> IgnoreLinkageSpecDecls().
> 
> As part of general code smell I have also moved two other places where
> IgnoreLinkageSpecDecls()'s functionality was being duplicated to using that
> function.
> 
> Regression test attached. Is it OK to commit?

Looks good.

John.



More information about the cfe-commits mailing list