summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2012-11-26 08:55:48 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2012-11-26 08:55:48 +0000
commit09848e709cea60fa4081f34d888e0265fad09055 (patch)
tree69a59461963666ab6ff782cfc2d51bf9f48dfb35 /clang/lib/AST/MicrosoftMangle.cpp
parentdd2ca571ae371469ffaaa898920572d34c1baa0a (diff)
downloadbcm5719-llvm-09848e709cea60fa4081f34d888e0265fad09055.tar.gz
bcm5719-llvm-09848e709cea60fa4081f34d888e0265fad09055.zip
Fix PR14413 - incorrect mangling of anonymous namespaces with -cxx-abi microsoft
llvm-svn: 168583
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index 7a12c4da951..d91f5125387 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -453,7 +453,7 @@ MicrosoftCXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND,
if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) {
if (NS->isAnonymousNamespace()) {
- Out << "?A";
+ Out << "?A@";
break;
}
}
OpenPOWER on IntegriCloud