[cfe-commits] r99077 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
David Chisnall
csdavec at swan.ac.uk
Sat Mar 20 12:53:29 PDT 2010
Author: theraven
Date: Sat Mar 20 14:53:29 2010
New Revision: 99077
URL: http://llvm.org/viewvc/llvm-project?rev=99077&view=rev
Log:
Fixed synthesizing properties declared in properties (GNU runtime).
Modified:
cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=99077&r1=99076&r2=99077&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Sat Mar 20 14:53:29 2010
@@ -1634,7 +1634,7 @@
const ObjCCategoryImplDecl *OCD =
dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext());
std::string CategoryName = OCD ? OCD->getNameAsString() : "";
- std::string ClassName = OMD->getClassInterface()->getNameAsString();
+ std::string ClassName = CD->getName();
std::string MethodName = OMD->getSelector().getAsString();
bool isClassMethod = !OMD->isInstanceMethod();
More information about the cfe-commits
mailing list