History log of /llvm-project/clang-tools-extra/clang-query/tool/ClangQuery.cpp (Results 26 – 33 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.5.0-rc1
# 5a1ef9c8 21-May-2014 Manuel Klimek <klimek@google.com>

Fix clang-query on Windows: flush llvm::outs() after each command.

llvm-svn: 209313


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2
# 329be894 25-Apr-2014 David Blaikie <dblaikie@gmail.com>

Blindly try to fix the clang-tools-extra build since my local build doesn't appear to be picking it up

llvm-svn: 207230


# 1f6066c9 23-Apr-2014 Samuel Benzaquen <sbenza@google.com>

Add new 'let' command to bind arbitrary values into constants.

Summary:
Add new 'let' command to bind arbitrary values into constants.
These constants can then be used in the matcher expressions.

R

Add new 'let' command to bind arbitrary values into constants.

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

show more ...


Revision tags: llvmorg-3.4.1-rc1
# 6a2dc5c3 09-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

[C++11] Replace OwningPtr with std::unique_ptr.

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

[C++11] Replace OwningPtr with std::unique_ptr.

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

show more ...


# d9a0f254 01-Feb-2014 Peter Collingbourne <peter@pcc.me.uk>

Add completion to the query parser, and hook it up to clang-query.

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

llvm-svn: 200604


# c31176da 01-Feb-2014 Peter Collingbourne <peter@pcc.me.uk>

Switch clang-query to use the lineeditor library.

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

llvm-svn: 200603


# 85e6e871 07-Jan-2014 Chandler Carruth <chandlerc@gmail.com>

Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't
always produce as pretty of results as it does in LLVM and Clang, but
I don't mind and the value of having a single canonical o

Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't
always produce as pretty of results as it does in LLVM and Clang, but
I don't mind and the value of having a single canonical ordering is very
high IMO.

Let me know if you spot really serious problems here.

llvm-svn: 198703

show more ...


Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 8b1265b3 08-Nov-2013 Peter Collingbourne <peter@pcc.me.uk>

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 result

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

show more ...


12