diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 19:35:27 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 19:35:27 +0000 |
commit | 7a855e33dfe310f6ae665595c863b31dc59ece43 (patch) | |
tree | 473cf852892f92cf17bca751987d15d29e500e1b /clang/lib/Sema/SemaDeclObjC.cpp | |
parent | 1460431e3737485f4ff491eea9ef4b86a0dbded4 (diff) | |
download | bcm5719-llvm-7a855e33dfe310f6ae665595c863b31dc59ece43.tar.gz bcm5719-llvm-7a855e33dfe310f6ae665595c863b31dc59ece43.zip |
Remove FindIvarDeclaration. Use lookupInstanceVariable is is functionally
the same.
llvm-svn: 64657
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index dc8ce062f0b..1c9594a9702 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/lib/Sema/SemaDeclObjC.cpp @@ -1698,7 +1698,7 @@ Sema::DeclTy *Sema::ActOnPropertyImplDecl(SourceLocation AtLoc, if (!PropertyIvar) PropertyIvar = PropertyId; // Check that this is a previously declared 'ivar' in 'IDecl' interface - Ivar = IDecl->FindIvarDeclaration(PropertyIvar); + Ivar = IDecl->lookupInstanceVariable(PropertyIvar); if (!Ivar) { Diag(PropertyLoc, diag::error_missing_property_ivar_decl) << PropertyId; return 0; |