diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-04-18 00:30:47 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-04-18 00:30:47 +0000 |
commit | 5833b901d02e628c9bcdb1c59efcc100a1faecad (patch) | |
tree | 23943cb3a1d2f41bf21afce29991a7cc6714464a /lib/Sema/SemaDeclObjC.cpp | |
parent | f624f8186d8fe474350051c6d3f00b2c204fbeae (diff) |
Fixed a bug in categories and properties.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index b0ae1f28ea..05371e7172 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -977,7 +977,7 @@ Sema::DeclTy *Sema::ActOnPropertyImplDecl(SourceLocation AtLoc, return 0; } ObjCCategoryDecl *Categories; - for (ObjCCategoryDecl *Categories = IDecl->getCategoryList(); + for (Categories = IDecl->getCategoryList(); Categories; Categories = Categories->getNextClassCategory()) if (Categories->getIdentifier() == CatImplClass->getIdentifier()) break; |