[PATCH] Adds the equalsBoundNode matcher.

Edwin Vane edwin.vane at intel.com
Wed Jun 19 08:51:41 PDT 2013


  Don't forget to run docs/tools/dump_ast_matchers.py for the new matcher.


================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:2260
@@ +2259,3 @@
+namespace internal {
+struct PredicateT {
+  bool operator()(const internal::BoundNodesMap &Nodes) const {
----------------
Should this be called equalsboundNodePredicate? Possibly even being made a nested struct within the matcher below? Or do you envision this being used elsewhere?


http://llvm-reviews.chandlerc.com/D1009



More information about the cfe-commits mailing list