diff options
author | Samuel Benzaquen <sbenza@google.com> | 2015-02-27 17:53:23 +0000 |
---|---|---|
committer | Samuel Benzaquen <sbenza@google.com> | 2015-02-27 17:53:23 +0000 |
commit | 233092a0c86e201d79b1cd36b966dd690e1826aa (patch) | |
tree | 7321cc4aa90a82dbc89c186b8021b3437684fd80 /clang-query | |
parent | 2a82d482df82f326017631af0026420b917166b0 (diff) |
Add 'let' to the help message.
Summary: Add 'let' to the help message.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7940
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@230768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-query')
-rw-r--r-- | clang-query/Query.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/clang-query/Query.cpp b/clang-query/Query.cpp index 3733120a..3b496245 100644 --- a/clang-query/Query.cpp +++ b/clang-query/Query.cpp @@ -33,13 +33,17 @@ bool NoOpQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { bool HelpQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { OS << "Available commands:\n\n" - " match MATCHER, m MATCHER " + " match MATCHER, m MATCHER " "Match the loaded ASTs against the given matcher.\n" - " set bind-root (true|false) " + " let NAME MATCHER, l NAME MATCHER " + "Give a matcher expression a name, to be used later\n" + " " + "as part of other expressions.\n" + " set bind-root (true|false) " "Set whether to bind the root matcher to \"root\".\n" - " set output (diag|print|dump) " + " set output (diag|print|dump) " "Set whether to print bindings as diagnostics,\n" - " " + " " "AST pretty prints or AST dumps.\n\n"; return true; } |