[PATCH] ASTMatchers: Add a matcher to detect whether a decl or stmt is inside a template instantiation.

Benjamin Kramer benny.kra at gmail.com
Mon Sep 1 08:20:11 PDT 2014


Split into two matchers, one for Decl (also matches itself) and one for Stmt.
Update tests and document node sharing artifacts.

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.13140.patch
Type: text/x-patch
Size: 4679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140901/f71def6b/attachment.bin>


More information about the cfe-commits mailing list