[cfe-commits] r82874 - in /cfe/trunk: lib/CodeGen/Mangle.cpp test/CodeGenCXX/mangle-subst-std.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sun Sep 27 01:32:30 PDT 2009


Anders Carlsson wrote:
> Author: andersca
> Date: Sat Sep 26 15:53:44 2009
> New Revision: 82874
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82874&view=rev
> Log:
> Substitute "::std::" as "St".
>   
What happens if I do this?

namespace mine { namespace std { void foo(); } }

1) Am I allowed to do this, i.e. may I use the identifier "std" outside
the global namespace? Do we want to allow it?
2) Does the ABI want this substituted? (I think not.)
3) Will the code substitute it?

Sebastian



More information about the cfe-commits mailing list