mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb: remove TYPE_TARGET_TYPE
Remove the macro, replace all uses by calls to type::target_type. Change-Id: Ie51d3e1e22f94130176d6abd723255282bb6d1ed
This commit is contained in:
@@ -220,7 +220,7 @@ cp_lookup_bare_symbol (const struct language_defn *langdef,
|
||||
return {};
|
||||
|
||||
|
||||
type = check_typedef (TYPE_TARGET_TYPE (lang_this.symbol->type ()));
|
||||
type = check_typedef (lang_this.symbol->type ()->target_type ());
|
||||
/* If TYPE_NAME is NULL, abandon trying to find this symbol.
|
||||
This can happen for lambda functions compiled with clang++,
|
||||
which outputs no name for the container class. */
|
||||
|
||||
Reference in New Issue
Block a user