]> granicus.if.org Git - clang/commitdiff
Use Twine instead of utostr
authorDaniel Dunbar <daniel@zuster.org>
Sun, 2 Aug 2009 01:43:57 +0000 (01:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 2 Aug 2009 01:43:57 +0000 (01:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77848 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCall.cpp

index be30fcc5ca9fc675bbb11d4d9ad07ade831c42b6..31ed8a6390df281e86f2d40cad1e206f17313d2c 100644 (file)
@@ -594,7 +594,7 @@ void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI,
       // Name the arguments used in expansion and increment AI.
       unsigned Index = 0;
       for (; AI != End; ++AI, ++Index)
-        AI->setName(Name + "." + llvm::utostr(Index));
+        AI->setName(Name + "." + llvm::Twine(Index));
       continue;
     }