[PATCH] D19849: [clang-tidy] MoveConstructorInitCheck - Add parameter name to check message.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 19:15:28 PDT 2016


alexfh added inline comments.

================
Comment at: clang-tidy/misc/MoveConstructorInitCheck.cpp:114
@@ -114,1 +113,3 @@
+                      "value argument %0 can be moved to avoid copy")
+                 << MovableParam->getName();
   DiagOut << FixItHint::CreateReplacement(
----------------
I guess, it should work without `->getName()`. Could you try?


Repository:
  rL LLVM

http://reviews.llvm.org/D19849





More information about the cfe-commits mailing list