FreeBSD/contrib/gcc/cp/error.c
/* Returns a description of FUNCTION using standard terminology.  */
Returns a description of FUNCTION using standard terminology.
Returns a description of FUNCTION using standard terminology .
static const char *
function_category (tree fn)
{
  if (DECL_FUNCTION_MEMBER_P (fn))
    {
      if (DECL_STATIC_FUNCTION_P (fn))
	return "static member function";
      else if (DECL_COPY_CONSTRUCTOR_P (fn))
	return "copy constructor";
      else if (DECL_CONSTRUCTOR_P (fn))
	return "constructor";
      else if (DECL_DESTRUCTOR_P (fn))
	return "destructor";
      else
	return "member function";
    }
  else
    return "function";
}
static const char * function_category ( tree fn ) { if ( DECL_FUNCTION_MEMBER_P ( fn ) ) { if ( DECL_STATIC_FUNCTION_P ( fn ) ) return " " ; else if ( DECL_COPY_CONSTRUCTOR_P ( fn ) ) return " " ; else if ( DECL_CONSTRUCTOR_P ( fn ) ) return " " ; else if ( DECL_DESTRUCTOR_P ( fn ) ) return " " ; else return " " ; } else return " " ; }
Returns a description of FUNCTION using standard terminology.
Returns a description of FUNCTION using standard terminology .