diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2010-03-20 19:53:29 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2010-03-20 19:53:29 +0000 |
commit | 4c8c8e93ca3b63de4d30f4a460b50fe63fd6bd3b (patch) | |
tree | 217942179b6a585e3106ecb75c2e774609515206 /lib/CodeGen/CGObjCGNU.cpp | |
parent | ff7f736211070be873df0a345295fd1453ee7c50 (diff) |
Fixed synthesizing properties declared in properties (GNU runtime).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 243635744f..119819b810 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -1634,7 +1634,7 @@ llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, 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(); |