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 | 62293f4d979424942d60a4cc1f897ab5d1aa722a (patch) | |
| tree | af1abc48b4afb3f10f137552044c5b62004ba1b4 /clang/lib/Sema/SemaDeclObjC.cpp | |
| parent | 543d6c65fab06a640d9f26c8968d3b936087170f (diff) | |
| download | bcm5719-llvm-62293f4d979424942d60a4cc1f897ab5d1aa722a.tar.gz bcm5719-llvm-62293f4d979424942d60a4cc1f897ab5d1aa722a.zip | |
Changed a 'FIXME' into new comment. Added a test case
testing declaration of properties in categories.
llvm-svn: 60625
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index 19769b82e35..636a71d9a4b 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/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? | 

