FreeBSD/contrib/gcc/cp/decl.c
/* Return which tree structure is used by T, or TS_CP_GENERIC if T is
   one of the language-independent trees.  */
Return which tree structure is used by T, or TS_CP_GENERIC if T is
one of the language-independent trees.
Return which tree structure is used by T or TS_CP_GENERIC if T is one of the language - independent trees .
enum cp_tree_node_structure_enum
cp_tree_node_structure (union lang_tree_node * t)
{
  switch (TREE_CODE (&t->generic))
    {
    case DEFAULT_ARG:		return TS_CP_DEFAULT_ARG;
    case IDENTIFIER_NODE:	return TS_CP_IDENTIFIER;
    case OVERLOAD:		return TS_CP_OVERLOAD;
    case TEMPLATE_PARM_INDEX:	return TS_CP_TPI;
    case TINST_LEVEL:		return TS_CP_TINST_LEVEL;
    case PTRMEM_CST:		return TS_CP_PTRMEM;
    case BASELINK:		return TS_CP_BASELINK;
    default:			return TS_CP_GENERIC;
    }
}
enum cp_tree_node_structure_enum cp_tree_node_structure ( union lang_tree_node * t ) { switch ( TREE_CODE ( & t -> generic ) ) { case DEFAULT_ARG : return TS_CP_DEFAULT_ARG ; case IDENTIFIER_NODE : return TS_CP_IDENTIFIER ; case OVERLOAD : return TS_CP_OVERLOAD ; case TEMPLATE_PARM_INDEX : return TS_CP_TPI ; case TINST_LEVEL : return TS_CP_TINST_LEVEL ; case PTRMEM_CST : return TS_CP_PTRMEM ; case BASELINK : return TS_CP_BASELINK ; default : return TS_CP_GENERIC ; } }
Return which tree structure is used by T, or TS_CP_GENERIC if T is
one of the language-independent trees.
Return which tree structure is used by T or TS_CP_GENERIC if T is one of the language - independent trees .