Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

AST matcher triggers assert #27708

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR27709
Status NEW
Importance P normal
Reported by dude4891@xemaps.com
Reported on 2016-05-11 06:52:40 -0700
Last modified on 2016-06-12 10:31:37 -0700
Version trunk
Hardware PC Windows NT
CC llvm-bugs@lists.llvm.org, meadori@gmail.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
Using the AST Matchers library, I got an assertion failure at
ASTMatchFinder.cpp: 653 using the following pattern:
declRefExpr(to(varDecl(hasParent(cxxRecordDecl()))))
Can someone confirm that the matcher is OK and not somehow badly formed? If so
I will gather the details (source / preprocessed input / stack trace).
Quuxplusone commented 8 years ago

It is difficult to tell without more information like: (1) a reproduction case for how the matcher library is being used and (2) the input test case to the matcher code.