r189208 - [-cxx-abi microsoft] Unnamed types are mangled less wrong

David Majnemer david.majnemer at gmail.com
Sun Aug 25 19:35:51 PDT 2013


Author: majnemer
Date: Sun Aug 25 21:35:51 2013
New Revision: 189208

URL: http://llvm.org/viewvc/llvm-project?rev=189208&view=rev
Log:
[-cxx-abi microsoft] Unnamed types are mangled less wrong

Modified:
    cfe/trunk/lib/AST/MicrosoftMangle.cpp

Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=189208&r1=189207&r2=189208&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Sun Aug 25 21:35:51 2013
@@ -508,8 +508,8 @@ MicrosoftCXXNameMangler::mangleUnqualifi
       }
 
       // When VC encounters an anonymous type with no tag and no typedef,
-      // it literally emits '<unnamed-tag>'.
-      Out << "<unnamed-tag>";
+      // it literally emits '<unnamed-tag>@'.
+      Out << "<unnamed-tag>@";
       break;
     }
       





More information about the cfe-commits mailing list