diff options
| author | Manuel Klimek <klimek@google.com> | 2013-02-01 13:41:35 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-02-01 13:41:35 +0000 |
| commit | 60969f5f6be1cbf7ac2384cc5ad571d28adf6bf1 (patch) | |
| tree | eb4289dc7e56f28df24063bad3b2c148bd5b87de /lib/CodeGen/CodeGenFunction.cpp | |
| parent | ae54121c15cdd38f415f6fdda48215ab5e4dcee1 (diff) | |
| download | clang-60969f5f6be1cbf7ac2384cc5ad571d28adf6bf1.tar.gz clang-60969f5f6be1cbf7ac2384cc5ad571d28adf6bf1.tar.bz2 clang-60969f5f6be1cbf7ac2384cc5ad571d28adf6bf1.tar.xz | |
Re-design the convenience interfaces on MatchFinder.
First, this implements a match() method on MatchFinder; this allows us
to get rid of the findAll implementation, as findAll is really a special
case of recursive matchers on match.
Instead of findAll, provide a convenience function match() that lets
users iterate easily over the results instead of needing to implement
callbacks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
