r229726 - Itanium ABI: Write a character instead of a string literal
David Majnemer
david.majnemer at gmail.com
Wed Feb 18 11:08:14 PST 2015
Author: majnemer
Date: Wed Feb 18 13:08:14 2015
New Revision: 229726
URL: http://llvm.org/viewvc/llvm-project?rev=229726&view=rev
Log:
Itanium ABI: Write a character instead of a string literal
No functional change intended.
Modified:
cfe/trunk/lib/AST/ItaniumMangle.cpp
Modified: cfe/trunk/lib/AST/ItaniumMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ItaniumMangle.cpp?rev=229726&r1=229725&r2=229726&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ItaniumMangle.cpp (original)
+++ cfe/trunk/lib/AST/ItaniumMangle.cpp Wed Feb 18 13:08:14 2015
@@ -3557,7 +3557,7 @@ void CXXNameMangler::mangleTemplateArg(T
if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
const ValueDecl *D = DRE->getDecl();
if (isa<VarDecl>(D) || isa<FunctionDecl>(D)) {
- Out << "L";
+ Out << 'L';
mangle(D);
Out << 'E';
break;
More information about the cfe-commits
mailing list