[PATCH] D35718: [clang-tidy] Do not issue fixit for explicit template specializations

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 21 05:22:17 PDT 2017


alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/clang-tidy/performance-unnecessary-value-param.cpp:358
+void templateFunction<ExpensiveToCopyType>(ExpensiveToCopyType E) {
+  // CHECK-MESSAGES: [[@LINE-1]]:64: warning: the parameter 'E' is copied
+  E.constReference();
----------------
Did you mean to add a CHECK-FIXES to ensure the code stays unchanged?


Repository:
  rL LLVM

https://reviews.llvm.org/D35718





More information about the cfe-commits mailing list