alexfh added inline comments.
================ Comment at: unittests/clang-tidy/AddConstTest.cpp:733 + StringRef T = "template <typename T> void f(T v) \n"; + StringRef S = "{ T target = v; }"; + auto Cat = [&T](StringRef S) { return (T + S).str(); }; ---------------- It would be interesting to see test cases with multiple instantiations of the template the fix applies to. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D54395 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits