diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-06 19:59:02 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-06 19:59:02 +0000 |
commit | 77e14bd3a714be42dbe1ab90a37b5832740b6df2 (patch) | |
tree | 06628737dd9f2db65dbd133396e0688083d14644 /lib/Sema/SemaDeclObjC.cpp | |
parent | 759623efaf07896081a2b8bb869f53eebf44327d (diff) |
Changed a 'FIXME' into new comment. Added a test case
testing declaration of properties in categories.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 19769b82e3..636a71d9a4 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1055,7 +1055,9 @@ void Sema::ActOnAtEnd(SourceLocation AtEndLoc, DeclTy *classDecl, &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? |