diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-11-26 20:33:54 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-11-26 20:33:54 +0000 |
commit | b16308f1b37237244022d06a467db14efb01b7c3 (patch) | |
tree | f2dced0f3540ca92ccfe872bf0f0ab4f72943e2d /lib/Sema/SemaDeclObjC.cpp | |
parent | 8cf0bb3c2a798ce3acacaac2d3178648cd4c65c6 (diff) |
Removed a FIXME. Added a test case for anonymous category.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 9f37e900cd..b9fc5b719a 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1251,10 +1251,10 @@ Sema::DeclTy *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, *isOverridingProperty = true; return 0; } - // else - // FIXME: - // no matching property found in the main class. Must simply - // add this property to the main class's property list. + // No matching property found in the main class. Just fall thru + // and add property to the anonymous category. It looks like + // it works as is. This category becomes just like a category + // for its primary class. } else { Diag(CDecl->getLocation(), diag::err_continuation_class); *isOverridingProperty = true; |