diff options
author | David L. Jones <dlj@google.com> | 2018-06-18 09:23:08 +0000 |
---|---|---|
committer | David L. Jones <dlj@google.com> | 2018-06-18 09:23:08 +0000 |
commit | 82e08bd77609fe8523086177aedd1f0220093811 (patch) | |
tree | 08ca12a4dcd1776e6dc1d098183f085c69657c94 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 8f7adcd7fb1fd1a01a0de79eca954c49e7e3dabb (diff) | |
download | bcm5719-llvm-82e08bd77609fe8523086177aedd1f0220093811.tar.gz bcm5719-llvm-82e08bd77609fe8523086177aedd1f0220093811.zip |
[ASTMatchers] Add support for matching the type of a friend decl.
This allows matchers like:
friendDecl(hasType(cxxRecordDecl(...)))
friendDecl(hasType(asString(...)))
It seems that hasType is probably the most reasonable narrowing matcher to
overload, since it is already used to narrow to other declaration kinds.
Differential Revision: https://reviews.llvm.org/D48242
Reviewers: klimek, aaron.ballman
Subscribers: cfe-commits
llvm-svn: 334930
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions