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.

Reply via email to