fowles added a subscriber: fowles. ================ Comment at: test/clang-tidy/performance-unnecessary-value-param.cpp:8 @@ +7,3 @@ + void nonConstMethod() {} + virtual ~ExpensiveToCopyType() {} +}; ---------------- you don't actually need to fill in these methods, just declare them
================ Comment at: test/clang-tidy/performance-unnecessary-value-param.cpp:52 @@ +51,3 @@ +void positiveUnnamedParam(const ExpensiveToCopyType) { + // CHECK-MESSAGES: [[@LINE-1]]:52: warning: the const qualified parameter #1 +} ---------------- no fix for this case? http://reviews.llvm.org/D17491 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits