FreeBSD/contrib/gcc/cp/typeck.c
/* Return true if TO and FROM (both of which are POINTER_TYPEs or
   pointer-to-member types) are the same, ignoring cv-qualification at
   all levels.  */
Return true if TO and FROM (both of which are POINTER_TYPEs or
pointer-to-member types) are the same, ignoring cv-qualification at
all levels.
Return true if TO and FROM ( both of which are POINTER_TYPEs or pointer - to - member types ) are the same ignoring cv - qualification at all levels .
bool
comp_ptr_ttypes_const (tree to, tree from)
{
  for (; ; to = TREE_TYPE (to), from = TREE_TYPE (from))
    {
      if (TREE_CODE (to) != TREE_CODE (from))
	return false;
      if (TREE_CODE (from) == OFFSET_TYPE
	  && same_type_p (TYPE_OFFSET_BASETYPE (from),
			  TYPE_OFFSET_BASETYPE (to)))
	  continue;
      if (TREE_CODE (to) != POINTER_TYPE)
	return same_type_ignoring_top_level_qualifiers_p (to, from);
    }
}
bool comp_ptr_ttypes_const ( tree to , tree from ) { for ( ; ; to = TREE_TYPE ( to ) , from = TREE_TYPE ( from ) ) { if ( TREE_CODE ( to ) != TREE_CODE ( from ) ) return false ; if ( TREE_CODE ( from ) == OFFSET_TYPE && same_type_p ( TYPE_OFFSET_BASETYPE ( from ) , TYPE_OFFSET_BASETYPE ( to ) ) ) continue ; if ( TREE_CODE ( to ) != POINTER_TYPE ) return same_type_ignoring_top_level_qualifiers_p ( to , from ) ; } }
Return true if TO and FROM (both of which are POINTER_TYPEs or
pointer-to-member types) are the same, ignoring cv-qualification at
all levels.
Return true if TO and FROM ( both of which are POINTER_TYPEs or pointer - to - member types ) are the same ignoring cv - qualification at all levels .