Skip to content

Commit 00ad3d5

Browse files
committedMar 30, 2017
[XRay][clang] Use llvm::to_string instead of std::string
This should unbreak some bots. Follow-up on D30388. llvm-svn: 299044
1 parent 8ed2928 commit 00ad3d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎clang/lib/Driver/XRayArgs.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "llvm/Support/FileSystem.h"
1818
#include "llvm/Support/Path.h"
1919
#include "llvm/Support/SpecialCaseList.h"
20+
#include "llvm/Support/ScopedPrinter.h"
2021

2122
using namespace clang;
2223
using namespace clang::driver;
@@ -91,7 +92,7 @@ void XRayArgs::addArgs(const ToolChain &TC, const ArgList &Args,
9192

9293
CmdArgs.push_back(XRayInstrumentOption);
9394
CmdArgs.push_back(Args.MakeArgString(XRayInstructionThresholdOption +
94-
std::to_string(InstructionThreshold)));
95+
llvm::to_string(InstructionThreshold)));
9596

9697
for (const auto &Always : AlwaysInstrumentFiles) {
9798
SmallString<64> AlwaysInstrumentOpt(XRayAlwaysInstrumentOption);

0 commit comments

Comments
 (0)
Please sign in to comment.