[PATCH] Add 'let' to the help message.

Samuel Benzaquen sbenza at google.com
Fri Feb 27 09:56:06 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7940

Files:
  clang-tools-extra/trunk/clang-query/Query.cpp

Index: clang-tools-extra/trunk/clang-query/Query.cpp
===================================================================
--- clang-tools-extra/trunk/clang-query/Query.cpp
+++ clang-tools-extra/trunk/clang-query/Query.cpp
@@ -33,13 +33,17 @@
 
 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;
 }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7940.20859.patch
Type: text/x-patch
Size: 1170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150227/0f692925/attachment.bin>


More information about the cfe-commits mailing list