[XRay][clang] Use llvm::to_string instead of std::string

This should unbreak some bots.

Follow-up on D30388.

llvm-svn: 299044
This commit is contained in:
Dean Michael Berris 2017-03-30 01:05:09 +00:00
parent 8ed2928d2c
commit 00ad3d57ad
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/SpecialCaseList.h"
#include "llvm/Support/ScopedPrinter.h"
using namespace clang;
using namespace clang::driver;
@ -91,7 +92,7 @@ void XRayArgs::addArgs(const ToolChain &TC, const ArgList &Args,
CmdArgs.push_back(XRayInstrumentOption);
CmdArgs.push_back(Args.MakeArgString(XRayInstructionThresholdOption +
std::to_string(InstructionThreshold)));
llvm::to_string(InstructionThreshold)));
for (const auto &Always : AlwaysInstrumentFiles) {
SmallString<64> AlwaysInstrumentOpt(XRayAlwaysInstrumentOption);