From: David Majnemer Date: Mon, 26 Aug 2013 02:35:51 +0000 (+0000) Subject: [-cxx-abi microsoft] Unnamed types are mangled less wrong X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec0258a0a89ae39bfb6c5962ee1b8310481bc00f;p=clang [-cxx-abi microsoft] Unnamed types are mangled less wrong git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189208 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index 122816cb0c..d9e18eb067 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -508,8 +508,8 @@ MicrosoftCXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND, } // When VC encounters an anonymous type with no tag and no typedef, - // it literally emits ''. - Out << ""; + // it literally emits '@'. + Out << "@"; break; }