Hi,

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?

Cheers,

James

*: namespace std { extern "C" {class C {}; } }

Attachment: std_mangle.diff
Description: Binary data

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

Reply via email to