gdb: remove TYPE_PROTOTYPED

gdb/ChangeLog:

	* gdbtypes.h (TYPE_PROTOTYPED): Remove, replace all
	uses with type::is_prototyped.

Change-Id: Ic96b19c24ce5afcd7e1302a75c39909767e4d885
This commit is contained in:
Simon Marchi 2020-09-14 11:08:01 -04:00
parent 27e69b7aed
commit 7f9f399b34
8 changed files with 16 additions and 13 deletions

View file

@ -153,7 +153,7 @@ convert_func (compile_c_instance *context, struct type *type)
int i;
gcc_type result, return_type;
struct gcc_type_array array;
int is_varargs = TYPE_VARARGS (type) || !TYPE_PROTOTYPED (type);
int is_varargs = TYPE_VARARGS (type) || !type->is_prototyped ();
struct type *target_type = TYPE_TARGET_TYPE (type);