]> granicus.if.org Git - clang/commit
Add forEachArgumentWithParam AST matcher.
authorManuel Klimek <klimek@google.com>
Mon, 18 Jan 2016 11:20:09 +0000 (11:20 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 18 Jan 2016 11:20:09 +0000 (11:20 +0000)
commitaad5dbac2c8420fb0ce2ad05a067d35b3f072bc9
tree0590f2af59adac2417e10b3302487bbc26e8e129
parentda8e5d14ce98366d6e1e35c458e8d9780e7540ba
Add forEachArgumentWithParam AST matcher.

The new matcher allows users to provide a matcher for both the argument
of a CallExpr/CxxConstructExpr a well as the ParmVarDecl of the
argument.

Patch by Felix Berger.

Differential Revision: http://reviews.llvm.org/D13845

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258042 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp