omtcyfz added a subscriber: omtcyfz. omtcyfz added a comment. Probably it also makes sense to reflect both `lambda` and template instantiation parts in documentation, since I find current wording totally confusing at the moment.
================ Comment at: clang-tidy/readability/AvoidConstParamsInDecls.cpp:41 @@ -40,1 +40,3 @@ + unless(cxxMethodDecl(ofClass(cxxRecordDecl(anyOf( + isLambda(), ast_matchers::isTemplateInstantiation()))))), has(typeLoc(forEach(ConstParamDecl)))) ---------------- `ast_matchers::` is redundant here. https://reviews.llvm.org/D24652 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits