flx added inline comments.

================
Comment at: clang-tidy/performance/UnnecessaryValueParamCheck.cpp:26
@@ +25,3 @@
+  return (Name.empty() ? llvm::Twine('#') + llvm::Twine(Index + 1)
+                       : llvm::Twine('\'') + Name + llvm::Twine('\''))
+      .str();
----------------
alexfh wrote:
> nit: IIUC, there's no need for explicit llvm::Twine around the second `'\''` 
> in this line.
Twine only has an implicit constructor for const char* but not for char. I can 
either leave it as is or switch to "'".

http://reviews.llvm.org/D17491



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to