[PATCH] D18149: Add check for unneeded copies of locals

Matt Kulukundis via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 08:02:51 PDT 2016


fowles added inline comments.

================
Comment at: clang-tidy/performance/UnnecessaryCopyInitialization.cpp:21
@@ +20,3 @@
+
+void recordFixes(const VarDecl &Var, ASTContext &Context,
+                 DiagnosticBuilder &Diagnostic) {
----------------
I am inclined to just leave it as is for the moment, this is already isolated code that doesn't escape the current file.


http://reviews.llvm.org/D18149





More information about the cfe-commits mailing list