llvm-project/clang/unittests/ASTMatchers
George Karpenkov a763fdfadd [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
2018-03-07 02:32:44 +00:00
..
Dynamic [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
ASTMatchersInternalTest.cpp Dividied ASTMatcherTests into 4 files 2016-05-17 19:22:57 +00:00
ASTMatchersNarrowingTest.cpp [ASTMatchers] isTemplateInstantiation: also match explicit instantiation declaration. 2018-02-21 13:51:27 +00:00
ASTMatchersNodeTest.cpp Add ObjC exception statement AST matchers 2017-11-11 22:46:15 +00:00
ASTMatchersTest.h Added braces to work around gcc warning in googletest: suggest explicit braces to avoid ambiguous 'else'. NFC. 2017-06-15 21:01:24 +00:00
ASTMatchersTraversalTest.cpp [ASTMatcher] Extend hasAnyArgument to ObjCMessageExpr 2018-03-07 02:32:44 +00:00
CMakeLists.txt [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00