* src/abg-ir.cc (equals): In overloads for function_type and
class_decl, avoid returning a constant when we can return a
variable like in the rest of the code.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
class_decl* lhs_class = 0, *rhs_class = 0;
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
else if (lhs_class
&& (lhs_class->get_qualified_name()
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
// Then compare the return type; Beware if it's t's a class type
if (k)
*k |= SUBTYPE_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
}
else
if (k)
*k |= SUBTYPE_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
class_decl* lcl = 0, * rcl = 0;
if (k)
*k |= SUBTYPE_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
}
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
RETURN(result);
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
for (class_decl::base_specs::const_iterator
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
for (class_decl::data_members::const_iterator
break;
}
else
- RETURN(false);
+ RETURN(result);
}
}
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
for (class_decl::member_function_templates::const_iterator
break;
}
else
- RETURN(false);
+ RETURN(result);
}
}
if (k)
*k |= LOCAL_CHANGE_KIND;
else
- RETURN(false);
+ RETURN(result);
}
for (class_decl::member_class_templates::const_iterator
break;
}
else
- RETURN(false);
+ RETURN(result);
}
}