From 2421f66b945510c7d049f6d89e7cc57d0013add8 Mon Sep 17 00:00:00 2001 From: Sean Hunt Date: Fri, 4 Dec 2009 21:01:37 +0000 Subject: [PATCH] Switch mangling of literal operator names to a string that's a) legal b) likely to be chosen as the official mangling This will break ABI compatibility with all literal operator names, so you may need to recompile any such code. Sorry. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90587 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/Mangle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index a20dec6ef8..019a39e28b 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -483,7 +483,7 @@ void CXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND) { case DeclarationName::CXXLiteralOperatorName: // Guessing based on existing ABI. - Out << "ul"; + Out << "li"; mangleSourceName(Name.getCXXLiteralIdentifier()); break; -- 2.50.1