On Sat, Sep 18, 2010 at 9:26 PM, Uday P. Khedker <u...@cse.iitb.ac.in> wrote:
>
> Given a tree node, we can get its uid by using DECL_UID(node).
>
> Given a uid, is it possible to directly get the tree node that
> corresponds to it? I can of course make a list of nodes that I
> am interested in but if there is an API, I would much rather
> use it.

Not in general, there is referenced_var which is such a mapping
but is only valid for the decls a function references.

Richard.

> Thanks.
>
> Uday.
>
> P.S. : Earlier, I have written pretty complex code because I
>       didn't know some of the APIs :-(
>
>       Trying to become wiser now :-)
>

Reply via email to