ajohnson-uoregon created this revision.
Herald added a project: All.
ajohnson-uoregon requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120954

Files:
  clang-tools-extra/clang-rewrite/ConstructMatchers.cpp


Index: clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
===================================================================
--- clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
+++ clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
@@ -523,7 +523,7 @@
         }
       }
     }
-    // child_matchers.push_back(constructMatcher("parameterCountIs", 
VariantValue(argnum), level+5));
+    child_matchers.push_back(constructMatcher("argumentsGivenCountIs", 
VariantValue(argnum), level+5));
   }
   if (child_matchers.size() < 1) {
     // guarantee child_matchers.size() >= 1 (also required to not make an


Index: clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
===================================================================
--- clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
+++ clang-tools-extra/clang-rewrite/ConstructMatchers.cpp
@@ -523,7 +523,7 @@
         }
       }
     }
-    // child_matchers.push_back(constructMatcher("parameterCountIs", VariantValue(argnum), level+5));
+    child_matchers.push_back(constructMatcher("argumentsGivenCountIs", VariantValue(argnum), level+5));
   }
   if (child_matchers.size() < 1) {
     // guarantee child_matchers.size() >= 1 (also required to not make an
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D120954: adding a ... Alister Johnson via Phabricator via cfe-commits

Reply via email to