aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-11-26 20:33:54 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-11-26 20:33:54 +0000
commitb16308f1b37237244022d06a467db14efb01b7c3 (patch)
treef2dced0f3540ca92ccfe872bf0f0ab4f72943e2d /lib/Sema/SemaDeclObjC.cpp
parent8cf0bb3c2a798ce3acacaac2d3178648cd4c65c6 (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.cpp8
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;