contrib/gcc/cp/typeck.c
/* Given an expression PTR for a pointer, return an expression
   for the value pointed to.
   ERRORSTRING is the name of the operator to appear in error messages.

   This function may need to overload OPERATOR_FNNAME.
   Must also handle REFERENCE_TYPEs for C++.  */
Given an expression PTR for a pointer, return an expression
for the value pointed to.
ERRORSTRING is the name of the operator to appear in error messages.

This function may need to overload OPERATOR_FNNAME.
Must also handle REFERENCE_TYPEs for C++.
Given an expression PTR for a pointer return an expression for the value pointed to . ERRORSTRING is the name of the operator to appear in error messages . This function may need to overload OPERATOR_FNNAME . Must also handle REFERENCE_TYPEs for C ++ .
tree
build_x_indirect_ref (tree expr, const char *errorstring)
{
  tree orig_expr = expr;
  tree rval;
  if (processing_template_decl)
    {
      if (type_dependent_expression_p (expr))
	return build_min_nt (INDIRECT_REF, expr);
      expr = build_non_dependent_expr (expr);
    }
  rval = build_new_op (INDIRECT_REF, LOOKUP_NORMAL, expr, NULL_TREE,
		       NULL_TREE, NULL);
  if (!rval)
    rval = build_indirect_ref (expr, errorstring);
  if (processing_template_decl && rval != error_mark_node)
    return build_min_non_dep (INDIRECT_REF, rval, orig_expr);
  else
    return rval;
}
tree build_x_indirect_ref ( tree expr , const char * errorstring ) { tree orig_expr = expr ; tree rval ; if ( processing_template_decl ) { if ( type_dependent_expression_p ( expr ) ) return build_min_nt ( INDIRECT_REF , expr ) ; expr = build_non_dependent_expr ( expr ) ; } rval = build_new_op ( INDIRECT_REF , LOOKUP_NORMAL , expr , NULL_TREE , NULL_TREE , NULL ) ; if ( ! rval ) rval = build_indirect_ref ( expr , errorstring ) ; if ( processing_template_decl && rval != error_mark_node ) return build_min_non_dep ( INDIRECT_REF , rval , orig_expr ) ; else return rval ; }
Given an expression PTR for a pointer, return an expression
for the value pointed to.
Given an expression PTR for a pointer return an expression for the value pointed to .
/*overloaded_p=*/