[cfe-dev] Should ObjCMethodDecl::getCanonicalDecl search superclass?
Fariborz Jahanian
fjahanian at apple.com
Wed Oct 14 08:44:34 PDT 2009
On Oct 13, 2009, at 9:46 PM, Kevin Cathey wrote:
> Furthermore, if I have:
> @interface MyClass {
> }
> @end
>
> @interface MyClass ()
> - (void)someOtherCategoryMethod;
> @end
>
> @implementation MyClass
> - (void)someOtherCategoryMethod {
> }
> @end
>
> I would expect the canonical decl for someOtherCategoryMethod in the
> implementation of MyClass to be the declaration in the required
> category.
In this case, MyClass() is an extension of class MyClass and not its
category.
- Fariborz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091014/ff3a68f5/attachment.html>
More information about the cfe-dev
mailing list