DECL_TEMPLATE_INFO and TYPE_DECL nodes
Brendon Costa
brendon@christian.net
Sat Oct 28 15:37:00 GMT 2006
In what situations is it valid to call DECL_TEMPLATE_INFO() on a
TYPE_DECL node?
I am using DECL_TEMPLATE_INFO in order to see if a DECL node has any
template information associated with it. The documentation says:
For a VAR_DECL, FUNCTION_DECL, TYPE_DECL or TEMPLATE_DECL
template-specific information.
but each time i try to call it with a TYPE_DECL it segfaults.
Thanks,
Brendon.
More information about the Gcc
mailing list