alexfh added a comment. Thank you, Etienne!
Please add a regression test. ================ Comment at: ClangTidy.cpp:144 @@ -138,1 +143,3 @@ + + Diag << FixItHint::CreateReplacement(Range, Fix.getReplacementText()); ++TotalFixes; ---------------- aaron.ballman wrote: > Is there a purpose to emitting the CreateReplacement if the fix isn't > applicable? No, I don't think we need a replacement with an invalid range. http://reviews.llvm.org/D18262 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits