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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits