[PATCH] D54406: Add matchDynamic convenience functions

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 11 15:51:01 PST 2018

aaron.ballman added inline comments.

Comment at: include/clang/ASTMatchers/ASTMatchFinder.h:314
+inline SmallVector<BoundNodes, 1>
+matchDynamic(internal::DynTypedMatcher Matcher, const ast_type_traits::DynTypedNode &Node,
+      ASTContext &Context) {
80-col issue.

Comment at: include/clang/ASTMatchers/ASTMatchFinder.h:325-326
+SmallVector<BoundNodes, 1>
+matchDynamic(internal::DynTypedMatcher Matcher, const NodeT &Node, ASTContext &Context) {
+  return matchDynamic(Matcher, ast_type_traits::DynTypedNode::create(Node), Context);
Same here; run the patch through clang-format?

  rC Clang


More information about the cfe-commits mailing list