[cfe-commits] r49883 - /cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Fariborz Jahanian
fjahanian at apple.com
Thu Apr 17 17:31:05 PDT 2008
Author: fjahanian
Date: Thu Apr 17 19:30:47 2008
New Revision: 49883
URL: http://llvm.org/viewvc/llvm-project?rev=49883&view=rev
Log:
Fixed a bug in categories and properties.
Modified:
cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=49883&r1=49882&r2=49883&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Thu Apr 17 19:30:47 2008
@@ -977,7 +977,7 @@
return 0;
}
ObjCCategoryDecl *Categories;
- for (ObjCCategoryDecl *Categories = IDecl->getCategoryList();
+ for (Categories = IDecl->getCategoryList();
Categories; Categories = Categories->getNextClassCategory())
if (Categories->getIdentifier() == CatImplClass->getIdentifier())
break;
More information about the cfe-commits
mailing list