[llvm-bugs] [Bug 31767] New: matchesAncestorOfRecursively assert failure: "Found node that is not in the parent map."

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 26 03:08:52 PST 2017


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

            Bug ID: 31767
           Summary: matchesAncestorOfRecursively assert failure: "Found
                    node that is not in the parent map."
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ioeric at google.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

$./bin/clang++ --version
clang version 5.0.0 (trunk 293069) (llvm/trunk 293085)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/google/home/ioeric/llvm-build/./bin

Repro source file:

class A {};
class B { friend class A; }

Repro matcher:

qualType(hasDeclaration(namedDecl(hasAncestor(decl()))))

-- 
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/20170126/a69e23fc/attachment.html>


More information about the llvm-bugs mailing list