[PATCH] Introduce clang-query tool.
Manuel Klimek
klimek at google.com
Wed Sep 24 08:15:29 PDT 2014
================
Comment at: clang-tools-extra/trunk/clang-query/Query.cpp:38
@@ +37,3 @@
+ "Match the loaded ASTs against the given matcher.\n"
+ " set bind-root (true|false) "
+ "Set whether to bind the root matcher to \"root\".\n"
----------------
kwk wrote:
> What does this mean? And why would I not want to match the loaded AST against a given matcher? Can you please give a useful small example of how to use the "set bind-root" command?
I think you're misreading this; the doc for bind-root is below ("Set whether to bind the root matcher to "root".)
http://reviews.llvm.org/D2098
More information about the cfe-commits
mailing list