[cfe-dev] Determining if ObjCIvarDecl is in multi-declaration
Fariborz Jahanian
fjahanian at apple.com
Wed Apr 23 09:40:47 PDT 2008
On Apr 23, 2008, at 9:22 AM, Emerson Murphy-Hill wrote:
> Suppose I have an objective-c interface:
>
> @interface C {
> int x,y;
> };
>
> I parse it, and have an ObjCIvarDecl for x. How can I determine
> that x is in a multi-declaration? I could check which
> ObjCIvarDecls' locations overlap, but is there an easier way?
There is no way that I know of. Locations won't help either because we
can put '\n' s between them. For properties, I intended to preserve
such syntactic info. but was told it is unnecessary at this time.
- fariborz
>
> Thanks in advance,
>
> e
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080423/191ba111/attachment.html>
More information about the cfe-dev
mailing list