mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
Rename is_cplus_template_function
This patch renames is_cplus_template_function to is_template_function. There is nothing C++-specific about this code, and the code in the DWARF reader that creates these objects is not C++-specific. In fact this may already be used by Rust (though I didn't check).
This commit is contained in:
@@ -577,7 +577,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
|
||||
if (function != NULL && function->language () == language_cplus)
|
||||
{
|
||||
/* Search the function's template parameters. */
|
||||
if (function->is_cplus_template_function ())
|
||||
if (function->is_template_function ())
|
||||
{
|
||||
struct template_symbol *templ
|
||||
= (struct template_symbol *) function;
|
||||
|
||||
Reference in New Issue
Block a user