On 06/10/2014 05:58 AM, Paolo Carlini wrote:
        && (friendp == 0 || dname == current_class_name))

Can't we just drop the dname condition here, rather than clear ctype later? That seems to be specifically what we're fixing: a friend is not a member function even if it has the same name as the class.

Jason

Reply via email to