[clang-query] Add comment token handling
authorStephen Kelly <steveire@gmail.com>
Wed, 3 Oct 2018 08:21:54 +0000 (08:21 +0000)
committerStephen Kelly <steveire@gmail.com>
Wed, 3 Oct 2018 08:21:54 +0000 (08:21 +0000)
commit2c4079c090aa05dc542169bbc0c3e4b31c6920e9
tree7963b5afbd264bcac9b5aa72f1d124f33f0792eb
parent7c787b8adf1b85e2bbb03db9a47ee8a6af9690ab
[clang-query] Add comment token handling

Summary:
It is possible to pass a file of commands to clang-query using the
command line option -f or --preload.  Make it possible to write comments
in such files.

Reviewers: aaron.ballman

Reviewed By: aaron.ballman

Subscribers: mgorny, cfe-commits

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

llvm-svn: 343666
clang-tools-extra/clang-query/QueryParser.cpp
clang-tools-extra/unittests/clang-query/QueryParserTest.cpp