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;
m_is_inlined = is_inlined;
}
- bool is_cplus_template_function () const
+ /* Return true if this symbol is a template function. Template
+ functions actually are of type 'template_symbol' and have extra
+ symbols (the template parameters) attached. */
+
+ bool is_template_function () const
{
return this->subclass == SYMBOL_TEMPLATE;
}
/* An instance of this type is used to represent a C++ template
function. A symbol is really of this type iff
- symbol::is_cplus_template_function is true. */
+ symbol::is_template_function is true. */
struct template_symbol : public symbol
{