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).
>>
>
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
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
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
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
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