mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
gdb: remove TYPE_OBJFILE macro
Change all users to use the type::objfile method instead. gdb/ChangeLog: * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the type::objfile method instead. Change-Id: I6b3f580913fb1fb0cf986b176dba8db68e1fabf9
This commit is contained in:
@@ -13253,8 +13253,8 @@ ada_operator_check (struct expression *exp, int pos,
|
||||
|
||||
/* Invoke callbacks for TYPE and OBJFILE if they were set as non-NULL. */
|
||||
|
||||
if (type && TYPE_OBJFILE (type)
|
||||
&& (*objfile_func) (TYPE_OBJFILE (type), data))
|
||||
if (type != nullptr && type->objfile () != nullptr
|
||||
&& objfile_func (type->objfile (), data))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user