[ASTMatchers] Add matcher hasAnyName.
authorSamuel Benzaquen <sbenza@google.com>
Mon, 22 Feb 2016 21:13:02 +0000 (21:13 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Mon, 22 Feb 2016 21:13:02 +0000 (21:13 +0000)
commit922bef4f380c015ed370776a33a92b50c41ac04d
treecba6904082f100ccabf52693a6c910e8b9942792
parent2ec4717c2c99ffe53863d0d5eaedcf0f16d29074
[ASTMatchers] Add matcher hasAnyName.

Summary: Add matcher hasAnyName as an optimization over anyOf(hasName(),...)

Reviewers: alexfh

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D17163

llvm-svn: 261574
clang/docs/LibASTMatchersReference.html
clang/docs/tools/dump_ast_matchers.py
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/ASTMatchers/ASTMatchersInternal.cpp
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/ASTMatchers/ASTMatchersTest.cpp