mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
Don't check DECL_CONV_FN_P in eval_is_override
This commit is contained in:
@@ -1477,7 +1477,7 @@ eval_is_override (tree r)
|
||||
{
|
||||
r = maybe_get_reflection_fndecl (r);
|
||||
if (TREE_CODE (r) == FUNCTION_DECL
|
||||
&& (DECL_VIRTUAL_P (r) || DECL_CONV_FN_P (r))
|
||||
&& DECL_VIRTUAL_P (r)
|
||||
&& !DECL_STATIC_FUNCTION_P (r)
|
||||
&& is_override (DECL_CONTEXT (r), r))
|
||||
return boolean_true_node;
|
||||
|
||||
Reference in New Issue
Block a user