Changeset 667


Ignore:
Timestamp:
Sep 9, 2003, 1:22:12 AM (22 years ago)
Author:
bird
Message:

Display calling convention in messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/gcc/gcc/cp/error.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r666 r667  
    658658        output_add_space (scratch_buffer);
    659659      print_left_paren (scratch_buffer);
     660#ifdef EMX
     661      emx_print_callingconvention(t, scratch_buffer);
     662#endif
    660663      padding = none;
    661664      break;
     
    666669        output_add_space (scratch_buffer);
    667670      print_left_paren (scratch_buffer);
     671#ifdef EMX
     672      emx_print_callingconvention(t, scratch_buffer);
     673#endif
    668674      padding = none;
    669675      dump_aggr_type (TYPE_METHOD_BASETYPE (t), flags);
     
    899905    case SCOPE_REF:
    900906      dump_decl (TREE_OPERAND (t, 0), flags & ~TFF_DECL_SPECIFIERS);
    901       print_scope_operator (scratch_buffer); 
     907      print_scope_operator (scratch_buffer);
    902908      dump_decl (TREE_OPERAND (t, 1), flags);
    903909      break;
     
    952958          break;
    953959        }
    954      
     960
    955961      /* If there's only one function, just treat it like an ordinary
    956962         FUNCTION_DECL.  */
     
    13441350          if (need_comma)
    13451351            separate_with_comma (scratch_buffer);
    1346          
     1352
    13471353          if (!arg)
    13481354            print_identifier (scratch_buffer, "<template parameter error>");
     
    14461452   if (t == 0)
    14471453      return;
    1448    
     1454
    14491455  switch (TREE_CODE (t))
    14501456    {
     
    26172623    case 'T': result = type_to_string (next_tree, verbose);     break;
    26182624    case 'V': result = cv_to_string (next_tree, verbose);       break;
    2619  
     2625
    26202626    default:
    26212627      return 0;
Note: See TracChangeset for help on using the changeset viewer.