contrib/gcc-4.4/gcc/cp/call.c
/* Returns the value to use for the in-charge parameter when making a
   call to a function with the indicated NAME.

   FIXME:Can't we find a neater way to do this mapping?  */
Returns the value to use for the in-charge parameter when making a
call to a function with the indicated NAME.


Returns the value to use for the in - charge parameter when making a call to a function with the indicated NAME .
tree
in_charge_arg_for_name (tree name)
{
 if (name == base_ctor_identifier
      || name == base_dtor_identifier)
    return integer_zero_node;
  else if (name == complete_ctor_identifier)
    return integer_one_node;
  else if (name == complete_dtor_identifier)
    return integer_two_node;
  else if (name == deleting_dtor_identifier)
    return integer_three_node;
  gcc_unreachable ();
  return NULL_TREE;
}
tree in_charge_arg_for_name ( tree name ) { if ( name == base_ctor_identifier || name == base_dtor_identifier ) return integer_zero_node ; else if ( name == complete_ctor_identifier ) return integer_one_node ; else if ( name == complete_dtor_identifier ) return integer_two_node ; else if ( name == deleting_dtor_identifier ) return integer_three_node ; gcc_unreachable ( ) ; return NULL_TREE ; }
Returns the value to use for the in-charge parameter when making a
call to a function with the indicated NAME.
Returns the value to use for the in - charge parameter when making a call to a function with the indicated NAME .
/* This function should only be called with one of the names listed
     above.  */