mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
gdb: remote SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION macro
Add a getter for a whether a symbol is a C++ template function. Remove the corresponding macro and adjust all callers. Change-Id: I89abc2802a952b77b0e0eb73a25c2306cb8e8bcc
This commit is contained in:
@ -519,7 +519,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
|
||||
if (function != NULL && function->language () == language_cplus)
|
||||
{
|
||||
/* Search the function's template parameters. */
|
||||
if (SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION (function))
|
||||
if (function->is_cplus_template_function ())
|
||||
{
|
||||
struct template_symbol *templ
|
||||
= (struct template_symbol *) function;
|
||||
|
Reference in New Issue
Block a user