[llvm-bugs] [Bug 39077] New: MatchASTVisitor::classIsDerivedFrom disagrees with its interface

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 25 09:52:47 PDT 2018


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: unassignedclangbugs at nondot.org
          Reporter: steveire at gmail.com
                CC: dgregor at apple.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180925/2a545f81/attachment.html>


More information about the llvm-bugs mailing list