[PATCH] ASTMatchers: Add a matcher to detect whether a decl or stmt is inside a template instantiation.
Benjamin Kramer
benny.kra at gmail.com
Wed Aug 27 07:14:53 PDT 2014
Hi klimek, alexfh,
This is hoisted from clang-tidy where it's used everywhere. The implementation
is not particularly efficient right now, but there is no easy fix for that.
http://reviews.llvm.org/D5085
Files:
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5085.12990.patch
Type: text/x-patch
Size: 3754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140827/42714048/attachment.bin>
More information about the cfe-commits
mailing list