malcolm.parsons added inline comments.

================
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:173-177
+/// Matches the type that was substituted for the template parameter.
+AST_MATCHER_P(SubstTemplateTypeParmType, hasReplacementType,
+              ast_matchers::internal::Matcher<QualType>, InnerMatcher) {
+  return InnerMatcher.matches(Node.getReplacementType(), Finder, Builder);
+}
----------------
Prazek wrote:
> alexfh wrote:
> > Ideally, this should go to ASTMatchers.h (with a proper test and 
> > documentation).
> I agree 
@Prazek Are you talking about `hasReplacementType` or `hasExplicitTemplateArgs`?


https://reviews.llvm.org/D27166



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to