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: unassignedclangb...@nondot.org
          Reporter: luka...@chromium.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to