[PATCH] D39948: Make isDefinition matcher support ObjCMethodDecl
Dave Lee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 12 13:30:47 PST 2017
kastiglione created this revision.
Herald added a subscriber: klimek.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6065 bytes
Desc: not available
More information about the cfe-commits