summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-query
Commit message (Collapse)AuthorAgeFilesLines
* Remove autoconf supportChris Bieneman2016-01-261-24/+0
| | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "Now I am become Death, the destroyer of worlds." -J. Robert Oppenheimer Reviewers: chandlerc, grosbach, bob.wilson, echristo Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D16475 llvm-svn: 258864
* Correcting and adding tests for r244206.Aaron Ballman2015-08-061-1/+3
| | | | llvm-svn: 244208
* Add missing dependency clangFrontend to unit test.Adrian Prantl2015-06-201-0/+1
| | | | llvm-svn: 240226
* Add clangBasic to libdeps according to r232051 since the interface of ↵NAKAMURA Takumi2015-03-131-0/+1
| | | | | | ASTMatchers was changed. llvm-svn: 232138
* Revert "Adapt clang-tools-extra to clang module format changes."Adrian Prantl2015-02-251-3/+2
| | | | | | This reverts commit 230424. llvm-svn: 230456
* Adapt clang-tools-extra to clang module format changes.Adrian Prantl2015-02-251-2/+3
| | | | | | | - add clangCodeGen.a to the tools that need it - tweak pp-trace command line handling to not conflict with clang's. llvm-svn: 230424
* Revert "Adapt Makefile dependencies for the clang module format change in ↵Adrian Prantl2015-02-211-3/+3
| | | | | | r230089." llvm-svn: 230104
* Adapt Makefile dependencies for the clang module format change in r230089.Adrian Prantl2015-02-201-3/+3
| | | | llvm-svn: 230090
* [CMake] Update libdeps.NAKAMURA Takumi2014-07-141-0/+1
| | | | llvm-svn: 212920
* Remove unnecessary explicit unique_ptr ctors now that buildASTFromCode ↵David Blaikie2014-04-251-4/+4
| | | | | | returns a unique_ptr instead of a raw pointer. llvm-svn: 207238
* Slightly less blindly fixing clang-tools-extra now that I remember that the ↵David Blaikie2014-04-252-14/+13
| | | | | | "check-clang" target doesn't check clang-tools-extra llvm-svn: 207231
* QueryEngineTest.cpp: Appease g++47.NAKAMURA Takumi2014-04-241-1/+1
| | | | llvm-svn: 207097
* ClangQueryTests: Fix msc17 build. Non-static member initializers are ↵NAKAMURA Takumi2014-04-242-11/+20
| | | | | | unavailable. llvm-svn: 207096
* Add new 'let' command to bind arbitrary values into constants.Samuel Benzaquen2014-04-232-40/+112
| | | | | | | | | | | | | | Summary: Add new 'let' command to bind arbitrary values into constants. These constants can then be used in the matcher expressions. Reviewers: pcc CC: cfe-commits Differential Revision: http://reviews.llvm.org/D3383 llvm-svn: 206984
* [C++11] Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-091-2/+2
| | | | | | | | This removes all references to OwningPtr, which should be fairly undisruptive to out-of-tree projects since they are unlikely to use clang-tools-extra as a library instead of a set of tools. llvm-svn: 203382
* [cleanup] Re-sort headers with llvm/utils/sort_includes.py.Chandler Carruth2014-03-041-1/+1
| | | | llvm-svn: 202809
* Add completion to the query parser, and hook it up to clang-query.Peter Collingbourne2014-02-011-16/+41
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D2263 llvm-svn: 200604
* [CMake] clang-tools-extra: Update dependencies.NAKAMURA Takumi2013-12-101-0/+1
| | | | llvm-svn: 196860
* Introduce clang-query tool.Peter Collingbourne2013-11-084-0/+239
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
OpenPOWER on IntegriCloud