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 | 12ae54d42fb95e5c6d386c0311a2ce68bac362e4 (patch) | |
| tree | 0897504471435e5d34a6f456f9ea77cf925276bc /clang/lib/CodeGen/CGObjCGNU.cpp | |
| parent | c0795f8b87b565de9eb589a275631ac053e590e7 (diff) | |
| download | bcm5719-llvm-12ae54d42fb95e5c6d386c0311a2ce68bac362e4.tar.gz bcm5719-llvm-12ae54d42fb95e5c6d386c0311a2ce68bac362e4.zip | |
Fixed synthesizing properties declared in properties (GNU runtime).
llvm-svn: 99077
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index 243635744ff..119819b810b 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/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(); |

