[llvm-bugs] [Bug 29042] New: matchesAncestorOfRecursively crashes saying "Found node that is not in the parent map."

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 18 14:57:30 PDT 2016


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

            Bug ID: 29042
           Summary: matchesAncestorOfRecursively crashes saying "Found
                    node that is not in the parent map."
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lukasza at chromium.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ clang++ --version
clang version 4.0.0 (trunk 277962)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/usr/local/google/home/lukasza/src/chromium4/src/third_party/llvm-build/Release+Asserts/bin

Repro source file being matched against:
    #include <string>

Repro matcher:
  auto matcher = expr(
      cxxDependentScopeMemberExpr(
          cxxDependentScopeIfQualifier(
              specifiesType(
                  qualType(
                        hasUnderlyingType(
                            templateTypeParmType(
                                hasDeclaration(
                                    decl(
                                        hasAncestor(
                                            namespaceDecl(
                                                hasParent(
                                                    translationUnitDecl()
                                                    ))))))))))));

-- 
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/20160818/af04bd56/attachment.html>


More information about the llvm-bugs mailing list