Re: Additional tree node questions.

2006-10-15 Thread Brendon Costa
Brendon Costa wrote: > Ian Lance Taylor wrote: >> Brendon Costa <[EMAIL PROTECTED]> writes: >> >>> For each FUNCTION_DECL node I find, I want to determine what its >>> exception specification list is. I.e. the throws() statement in its >>> prototype. >> Look at TYPE_RAISES_EXCEPTIONS (FNDECL). >> >

Re: Additional tree node questions.

2006-10-14 Thread Brendon Costa
Ian Lance Taylor wrote: > Brendon Costa <[EMAIL PROTECTED]> writes: > >> For each FUNCTION_DECL node I find, I want to determine what its >> exception specification list is. I.e. the throws() statement in its >> prototype. > > Look at TYPE_RAISES_EXCEPTIONS (FNDECL). > > Ian This macro does not

Re: Additional tree node questions.

2006-10-13 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > For each FUNCTION_DECL node I find, I want to determine what its > exception specification list is. I.e. the throws() statement in its > prototype. Look at TYPE_RAISES_EXCEPTIONS (FNDECL). Ian

Re: Tree node questions

2006-10-13 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > If I have a FUNCTION_DECL node that returns non-null for > DECL_TEMPLATE_INFO() then it is a template or template instantiation. > How can I tell if it is a full instantiation (I.e. not general > template or partial specialisation)? DECL_TEMPLATE_INSTAN

Additional tree node questions.

2006-10-12 Thread Brendon Costa
Sorry about the separate email. In addition to the previous questions I want to ask if there is a better way of achieving finding the type nodes for a functions exception specification list. For each FUNCTION_DECL node I find, I want to determine what its exception specification list is. I.e. the

Tree node questions

2006-10-12 Thread Brendon Costa
Hi all, If I have a FUNCTION_DECL node that returns non-null for DECL_TEMPLATE_INFO() then it is a template or template instantiation. How can I tell if it is a full instantiation (I.e. not general template or partial specialisation)? Does this also apply to nodes that represent template types (s