tree fn_decl; tree fn_id; fn_id = get_identifier("test_fn_call"); fn_decl = lookup_name(fn_id); /* returns you a pointer to the function declaration tree */
On 12/19/06, Rohit Arul Raj <[EMAIL PROTECTED]> wrote:
Hi all, I am working with GCC 4.1.1. By using the function name, is it possible to get the declaration tree node of that function. e.g. using maybe_get_identifier("name"), i get the identifier node. similarly are there any functions or macros available to get the declaration tree node. Regards, Rohit
-- Ferad Zyulkyarov Barcelona Supercomputing Center