[cfe-commits] r69093 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Daniel Dunbar
daniel at zuster.org
Tue Apr 14 15:44:27 PDT 2009
Author: ddunbar
Date: Tue Apr 14 17:44:26 2009
New Revision: 69093
URL: http://llvm.org/viewvc/llvm-project?rev=69093&view=rev
Log:
Avoid use of magic \01 prefix when unneeded.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=69093&r1=69092&r2=69093&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Tue Apr 14 17:44:26 2009
@@ -4486,7 +4486,7 @@
std::string &Name,
const ObjCInterfaceDecl *ID,
const ObjCIvarDecl *Ivar) {
- Name += "\01_OBJC_IVAR_$_" +
+ Name += "OBJC_IVAR_$_" +
getInterfaceDeclForIvar(ID, Ivar, CGM.getContext())->getNameAsString() +
'.' + Ivar->getNameAsString();
llvm::GlobalVariable *IvarOffsetGV =
More information about the cfe-commits
mailing list