summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-06-06 16:36:41 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-06-06 16:36:41 +0000
commit28c5a8ba4af7d5719580c95cb60c047d62d24a75 (patch)
tree29a99af6ef382a40bf84521541f01940f38e2256 /clang/lib/AST/DeclObjC.cpp
parent4c720c07bbac64aa1c32bcc11aaed3178dd87242 (diff)
downloadbcm5719-llvm-28c5a8ba4af7d5719580c95cb60c047d62d24a75.tar.gz
bcm5719-llvm-28c5a8ba4af7d5719580c95cb60c047d62d24a75.zip
Adds synthesize ivars to DeclContext.
llvm-svn: 73000
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 21aefdd567b..60a96d0471a 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -156,16 +156,6 @@ ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(
clsDeclared = ClassDecl;
return I;
}
- // look into properties.
- for (ObjCInterfaceDecl::prop_iterator I = ClassDecl->prop_begin(Context),
- E = ClassDecl->prop_end(Context); I != E; ++I) {
- ObjCPropertyDecl *PDecl = (*I);
- if (ObjCIvarDecl *IV = PDecl->getPropertyIvarDecl())
- if (IV->getIdentifier() == ID) {
- clsDeclared = ClassDecl;
- return IV;
- }
- }
ClassDecl = ClassDecl->getSuperClass();
}
return NULL;
OpenPOWER on IntegriCloud