diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2012-11-26 08:55:48 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2012-11-26 08:55:48 +0000 |
commit | 09848e709cea60fa4081f34d888e0265fad09055 (patch) | |
tree | 69a59461963666ab6ff782cfc2d51bf9f48dfb35 /clang/lib/AST/MicrosoftMangle.cpp | |
parent | dd2ca571ae371469ffaaa898920572d34c1baa0a (diff) | |
download | bcm5719-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.cpp | 2 |
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; } } |