Rename fprintf_symbol_filtered

fprintf_symbol_filtered is misnamed, because whether filtering happens
is now up to the stream.  This renames it to fprintf_symbol, which
isn't a great name (the first "f" doesn't mean much and the second one
is truly meaningless here), but "print_symbol" was already taken.
This commit is contained in:
Tom Tromey
2022-01-02 11:55:39 -07:00
parent 9fbf7f083e
commit bed009b9d8
6 changed files with 21 additions and 21 deletions

View File

@ -283,10 +283,10 @@ cp_type_print_method_args (struct type *mtype, const char *prefix,
int varargs = mtype->has_varargs ();
int i;
fprintf_symbol_filtered (stream, prefix,
language_cplus, DMGL_ANSI);
fprintf_symbol_filtered (stream, varstring,
language_cplus, DMGL_ANSI);
fprintf_symbol (stream, prefix,
language_cplus, DMGL_ANSI);
fprintf_symbol (stream, varstring,
language_cplus, DMGL_ANSI);
gdb_puts ("(", stream);
/* Skip the class variable. We keep this here to accommodate older