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: unassignedclangb...@nondot.org
          Reporter: ioe...@google.com
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to