[cfe-dev] No ObjCImplementionDecl>>getAtEndLoc() ?

Fariborz Jahanian fjahanian at apple.com
Fri Apr 11 09:30:22 PDT 2008


On Apr 11, 2008, at 8:48 AM, Emerson Murphy-Hill wrote:

> Ahoy!
>
> In clang, getAtEndLoc() is defined on ObjCCategoryDecl,
> ObjCInterfaceDecl, and ObjCProtocolDecl.  They return the source
> location of the @end tag.
>
> Why is it not on defined on ObjCImplementationDecl?  It also has an
> @end tag, no?

We generally have added getAtEndLoc() info. as needed by AST's  
consumers; such as the Rewriter. If you need one for this
class, go ahead and add one.

- Fariborz

>
>
> Thanks in advance,
>
> Emerson
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list