[cfe-commits] r60625 - /cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Fariborz Jahanian
fjahanian at apple.com
Sat Dec 6 11:59:02 PST 2008
Author: fjahanian
Date: Sat Dec 6 13:59:02 2008
New Revision: 60625
URL: http://llvm.org/viewvc/llvm-project?rev=60625&view=rev
Log:
Changed a 'FIXME' into new comment. Added a test case
testing declaration of properties in categories.
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=60625&r1=60624&r2=60625&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Sat Dec 6 13:59:02 2008
@@ -1055,7 +1055,9 @@
&clsMethods[0], clsMethods.size(), AtEndLoc);
}
else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
- // FIXME: Need to compare properties to those in interface?
+ // Categories are used to extend the class by declaring new methods.
+ // By the same token, they are also used to add new properties. No
+ // need to compare the added property to those in the class.
// FIXME: If we merge properties into class we should probably
// merge them into category as well?
More information about the cfe-commits
mailing list