diff options
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; |