diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-03-07 02:32:44 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-03-07 02:32:44 +0000 |
commit | a763fdfadd3fb80548e5c6c427e93fd64e1dabd4 (patch) | |
tree | 081d2ee7c75dee83e43905abf6f19ac9ce3dc859 /clang/lib/AST/Expr.cpp | |
parent | cddd6339e9006260204618ca07e299b90291e3e2 (diff) | |
download | bcm5719-llvm-a763fdfadd3fb80548e5c6c427e93fd64e1dabd4.tar.gz bcm5719-llvm-a763fdfadd3fb80548e5c6c427e93fd64e1dabd4.zip |
[ASTMatcher] Extend hasAnyArgument to ObjCMessageExpr
Currently hasArgument works with both ObjC messages and function calls,
but not hasAnyArgument.
This patch fixes that discrepancy, as it's often more convenient to use
hasAnyArgument.
On a more general note, it would be great to have a common superclass
for objc-call and function call, and a matcher matching that, but that's
probably a job for another commit.
Differential Revision: https://reviews.llvm.org/D44169
llvm-svn: 326865
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
0 files changed, 0 insertions, 0 deletions