[clang-query] Add option to print matcher expression
authorStephen Kelly <steveire@gmail.com>
Sat, 20 Oct 2018 09:13:59 +0000 (09:13 +0000)
committerStephen Kelly <steveire@gmail.com>
Sat, 20 Oct 2018 09:13:59 +0000 (09:13 +0000)
commit4a5b01ddd7dd12f9a5826741e57104e8bf54748b
tree2f0ca8c7ec49a337b095c90827577c0ee9ec26d1
parentd0e5eca0fdd54ca9dc896843781abb46656c17be
[clang-query] Add option to print matcher expression

Summary:
This is useful if using clang-query -f with a file containing multiple
matchers.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D52859

llvm-svn: 344840
clang-tools-extra/clang-query/Query.cpp
clang-tools-extra/clang-query/Query.h
clang-tools-extra/clang-query/QueryParser.cpp
clang-tools-extra/clang-query/QuerySession.h
clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp