diff options
author | Sean Hunt <rideau3@gmail.com> | 2009-12-04 21:01:37 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2009-12-04 21:01:37 +0000 |
commit | 2421f66b945510c7d049f6d89e7cc57d0013add8 (patch) | |
tree | bcc4e405aa3f3a141d72f7306abd04bc6f89dd83 /lib/CodeGen/Mangle.cpp | |
parent | 1c4269a9d9a61b48d1ad7c180fb8f8fc07c2ad8c (diff) |
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
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |