llvm-project/clang-tools-extra/test
Peter Collingbourne 8b1265b353 Introduce clang-query tool.
This tool is for interactive exploration of the Clang AST using AST matchers.
It currently allows the user to enter a matcher at an interactive prompt
and view the resulting bindings as diagnostics, AST pretty prints or AST
dumps. Example session:

$ cat foo.c
void foo(void) {}
$ clang-query foo.c --
clang-query> match functionDecl()

Match #1:

foo.c:1:1: note: "root" binds here
void foo(void) {}
^~~~~~~~~~~~~~~~~
1 match.

Differential Revision: http://llvm-reviews.chandlerc.com/D2098

llvm-svn: 194227
2013-11-08 00:08:23 +00:00
..
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:49:22 +00:00
clang-apply-replacements clang-apply-replacements: Add code formatting functionality 2013-09-30 13:59:21 +00:00
clang-modernize clang-modernize: Apply replacements using clang-apply-replacements 2013-10-05 12:15:58 +00:00
clang-query Introduce clang-query tool. 2013-11-08 00:08:23 +00:00
clang-tidy Initial architecture for clang-tidy. 2013-07-29 08:19:24 +00:00
modularize Added module map generation option. 2013-10-15 13:52:33 +00:00
pp-trace Rename Input to Inputs, for consistency with other tests. 2013-10-31 21:29:44 +00:00
remove-cstr-calls Fix a remove-cstr-calls test that fails checking of the produced code. 2013-06-19 15:43:40 +00:00
CMakeLists.txt Introduce clang-query tool. 2013-11-08 00:08:23 +00:00
Makefile Unit test support for Clang extra tools 2013-04-03 15:11:08 +00:00
lit.cfg Introduce clang-query tool. 2013-11-08 00:08:23 +00:00
lit.site.cfg.in Introduce clang-query tool. 2013-11-08 00:08:23 +00:00