summaryrefslogtreecommitdiffstats
path: root/clang/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
commite7167c28f6fae44aebe2a743c6c56ebf243685b5 (patch)
treefeb5eb24ccb066d0a78d7d36a1d39632ee147b65 /clang/lib/Sema/SemaDeclObjC.cpp
parentf8ef9f3dc9e8ceadd3772052624a455bbbfb0ffb (diff)
downloadbcm5719-llvm-e7167c28f6fae44aebe2a743c6c56ebf243685b5.tar.gz
bcm5719-llvm-e7167c28f6fae44aebe2a743c6c56ebf243685b5.zip
Removed a FIXME. Added a test case for anonymous category.
llvm-svn: 60115
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclObjC.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp
index 9f37e900cdf..b9fc5b719a2 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud