Can you please explain a usage of the "set bind-root" command? Why would I not 
want to match the loaded AST against a given matcher?

================
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"
----------------
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?

http://reviews.llvm.org/D2098



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to