tweak
From-SVN: r19860
This commit is contained in:
parent
72e61a0705
commit
18c32f6939
@ -1472,6 +1472,8 @@ build_member_call (type, name, parmlist)
|
|||||||
if (TREE_CODE (name) == TEMPLATE_ID_EXPR
|
if (TREE_CODE (name) == TEMPLATE_ID_EXPR
|
||||||
&& TREE_CODE (type) == NAMESPACE_DECL)
|
&& TREE_CODE (type) == NAMESPACE_DECL)
|
||||||
{
|
{
|
||||||
|
/* 'name' already refers to the decls from the namespace, since we
|
||||||
|
hit do_identifier for template_ids. */
|
||||||
my_friendly_assert (is_overloaded_fn (TREE_OPERAND (name, 0)), 980519);
|
my_friendly_assert (is_overloaded_fn (TREE_OPERAND (name, 0)), 980519);
|
||||||
return build_x_function_call (name, parmlist, current_class_ref);
|
return build_x_function_call (name, parmlist, current_class_ref);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user