https://bugs.llvm.org/show_bug.cgi?id=39077

            Bug ID: 39077
           Summary: MatchASTVisitor::classIsDerivedFrom disagrees with its
                    interface
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: steve...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

We have:

    // A class is not considered to be
    // derived from itself.
    bool MatchASTVisitor::classIsDerivedFrom(...)

But the base interface is 

    /// A class is considered to be also derived from itself.
    virtual bool classIsDerivedFrom(...)

Those should not contradict each other.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to