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