diff options
author | Dave Lee <davelee.com@gmail.com> | 2017-11-14 14:17:26 +0000 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2017-11-14 14:17:26 +0000 |
commit | be39868bfc66910a9499ee22157136252bc55b76 (patch) | |
tree | d0a09e38172185894fc9caceb5dc69c7197b7911 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 600174e74035f1d8d76912355f6f3dabc81eaf68 (diff) | |
download | llvm-be39868bfc66910a9499ee22157136252bc55b76.zip llvm-be39868bfc66910a9499ee22157136252bc55b76.tar.gz llvm-be39868bfc66910a9499ee22157136252bc55b76.tar.bz2 |
Make isDefinition matcher support ObjCMethodDecl
Summary:
Allow the `isDefinition()` matcher to apply to `ObjCMethodDecl` nodes, in
addition to those it already supports. For whatever reason, `ObjCMethodDecl`
does not inherit from `FunctionDecl` and so this is specialization is necessary.
Reviewers: aaron.ballman, malcolm.parsons, alexshap
Reviewed By: aaron.ballman
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D39948
llvm-svn: 318152
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions