[llvm] r259308 - Convert int to Twine instead of using utostr since it was already being added to a Twine. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 30 16:15:35 PST 2016
Author: ctopper
Date: Sat Jan 30 18:15:35 2016
New Revision: 259308
URL: http://llvm.org/viewvc/llvm-project?rev=259308&view=rev
Log:
Convert int to Twine instead of using utostr since it was already being added to a Twine. NFC
Modified:
llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Modified: llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp?rev=259308&r1=259307&r2=259308&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp Sat Jan 30 18:15:35 2016
@@ -74,7 +74,7 @@ namespace {
}
std::string getDescription() const {
- return (Twine(IsArg ? "Argument #" : "Return value #") + utostr(Idx) +
+ return (Twine(IsArg ? "Argument #" : "Return value #") + Twine(Idx) +
" of function " + F->getName()).str();
}
};
More information about the llvm-commits
mailing list