From ec0258a0a89ae39bfb6c5962ee1b8310481bc00f Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 26 Aug 2013 02:35:51 +0000 Subject: [PATCH] [-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 --- lib/AST/MicrosoftMangle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.50.1