Cleanup of ASTMatcher macros and adding support for overloaded matchers.
authorManuel Klimek <klimek@google.com>
Wed, 6 Feb 2013 20:36:22 +0000 (20:36 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 6 Feb 2013 20:36:22 +0000 (20:36 +0000)
commit4feac28e0e4bbbcd7d503171b3867cb33fc4cca7
tree810fea95afc17af9cbbf1a1737c2e90fc5e2674a
parent584a65befdc0ab8f458a9b4bf6e49c5ac590ebfd
Cleanup of ASTMatcher macros and adding support for overloaded matchers.

This is in preparation for adding other overloaded matchers. This change
alone is a net win in LOC.
I went through all matchers and looked whether we could now encode them
as macro, or simplify them with the matcher atoms that were not
available before.

llvm-svn: 174540
clang/docs/LibASTMatchersReference.html
clang/docs/tools/dump_ast_matchers.py
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/include/clang/ASTMatchers/ASTMatchersMacros.h