This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Additional tree node questions.


Brendon Costa wrote:
> Ian Lance Taylor wrote:
>> Brendon Costa <bcosta@avdat.com.au> 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
> 

Aahh. I should have read the documentation more closely.
TYPE_RAISES_EXCEPTIONS() requires a FUNCTION_TYPE node NOT a
FUNCTION_DECL node.

Thanks again for the pointer to the correct macro.

Brendon.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]