FreeBSD/contrib/gcc/cp/call.c
/* Do any initial processing on the arguments to a function call.  */
Do any initial processing on the arguments to a function call.
Do any initial processing on the arguments to a function call .
static tree
resolve_args (tree args)
{
  tree t;
  for (t = args; t; t = TREE_CHAIN (t))
    {
      tree arg = TREE_VALUE (t);
      if (error_operand_p (arg))
	return error_mark_node;
      else if (VOID_TYPE_P (TREE_TYPE (arg)))
	{
	  error ("invalid use of void expression");
	  return error_mark_node;
	}
      else if (invalid_nonstatic_memfn_p (arg))
	return error_mark_node;
    }
  return args;
}
static tree resolve_args ( tree args ) { tree t ; for ( t = args ; t ; t = TREE_CHAIN ( t ) ) { tree arg = TREE_VALUE ( t ) ; if ( error_operand_p ( arg ) ) return error_mark_node ; else if ( VOID_TYPE_P ( TREE_TYPE ( arg ) ) ) { error ( " " ) ; return error_mark_node ; } else if ( invalid_nonstatic_memfn_p ( arg ) ) return error_mark_node ; } return args ; }
Do any initial processing on the arguments to a function call.
Do any initial processing on the arguments to a function call .