[cfe-dev] [clang-tidy] using isInTemplateInstantiation asserts

Piotr Padlewski via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 4 11:48:41 PDT 2016


Hi guys,
I am having trobles with isInTemplateInstantiation matcher. When I run my
matcher (http://reviews.llvm.org/D18136), it fails on the assert in
ASTTypeTraits.h:299, when KindId is NodeKindId::NKI_TemplateArgument.

I think my matcher is fine, and there is bug somewhere. Can someone please
tell me if I am doing something wrong, and if not, why it doesn't work and
what I should fix?

Here is my backtrace http://4programmers.net/Pastebin/5347

Best
Piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160404/79fd1b3f/attachment.html>


More information about the cfe-dev mailing list