FreeBSD/contrib/gcc/cp/error.c
/* Print a parameter list. If this is for a member function, the
   member object ptr (and any other hidden args) should have
   already been removed.  */
Print a parameter list. If this is for a member function, the
member object ptr (and any other hidden args) should have
already been removed.
Print a parameter list . If this is for a member function the member object ptr ( and any other hidden args ) should have already been removed .
static void
dump_parameters (tree parmtypes, int flags)
{
  int first;
  pp_cxx_left_paren (cxx_pp);
  for (first = 1; parmtypes != void_list_node;
       parmtypes = TREE_CHAIN (parmtypes))
    {
      if (!first)
	pp_separate_with_comma (cxx_pp);
      first = 0;
      if (!parmtypes)
	{
	  pp_cxx_identifier (cxx_pp, "...");
	  break;
	}
      dump_type (TREE_VALUE (parmtypes), flags);
      if ((flags & TFF_FUNCTION_DEFAULT_ARGUMENTS) && TREE_PURPOSE (parmtypes))
	{
	  pp_cxx_whitespace (cxx_pp);
	  pp_equal (cxx_pp);
	  pp_cxx_whitespace (cxx_pp);
	  dump_expr (TREE_PURPOSE (parmtypes), flags | TFF_EXPR_IN_PARENS);
	}
    }
  pp_cxx_right_paren (cxx_pp);
}
static void dump_parameters ( tree parmtypes , int flags ) { int first ; pp_cxx_left_paren ( cxx_pp ) ; for ( first = 1 ; parmtypes != void_list_node ; parmtypes = TREE_CHAIN ( parmtypes ) ) { if ( ! first ) pp_separate_with_comma ( cxx_pp ) ; first = 0 ; if ( ! parmtypes ) { pp_cxx_identifier ( cxx_pp , " " ) ; break ; } dump_type ( TREE_VALUE ( parmtypes ) , flags ) ; if ( ( flags & TFF_FUNCTION_DEFAULT_ARGUMENTS ) && TREE_PURPOSE ( parmtypes ) ) { pp_cxx_whitespace ( cxx_pp ) ; pp_equal ( cxx_pp ) ; pp_cxx_whitespace ( cxx_pp ) ; dump_expr ( TREE_PURPOSE ( parmtypes ) , flags | TFF_EXPR_IN_PARENS ) ; } } pp_cxx_right_paren ( cxx_pp ) ; }
Print a parameter list.
Print a parameter list .