llvm-project/clang-tools-extra/clang-query
Stephen Kelly b22d8ae7f4 Use ASTDumper to dump the AST from clang-query
Summary:
This way, the output is not limited by the various API differences
between the dump() member functions.  For example, all dumps are now in
color, while that used to be the case only for Decls and Stmts, but not
Types.

Additionally, while DynTypedNode::dump (which was used up to now) was
limited to dumping only Decls, Stmts and Types, this makes clang-query
support everything ASTNodeTraverser supports.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62056
2019-12-06 23:38:56 +00:00
..
tool Revert "Use InitLLVM to setup a pretty stack printer" 2019-11-25 21:06:56 -05:00
CMakeLists.txt Add explicit dependency on clangSerialization after rC348911 2018-12-12 08:25:16 +00:00
Query.cpp Use ASTDumper to dump the AST from clang-query 2019-12-06 23:38:56 +00:00
Query.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
QueryParser.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
QueryParser.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
QuerySession.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00