Skip to content

Commit

Permalink
Fixup r303240: Use llvm::to_string instead of std::to_string
Browse files Browse the repository at this point in the history
It turns out some of the buildbots don't have std::to_string around,
even in this day and age...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303243 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rovka committed May 17, 2017
1 parent e571f16 commit 571ecd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/TableGen/GlobalISelEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1538,10 +1538,10 @@ Expected<BuildMIAction &> GlobalISelEmitter::createAndImportInstructionRenderer(
}

if (NumDefaultOps + Dst->getNumChildren() != DstINumUses)
return failedImport("Expected " + std::to_string(DstINumUses) +
return failedImport("Expected " + llvm::to_string(DstINumUses) +
" used operands but found " +
std::to_string(Dst->getNumChildren()) +
" explicit ones and " + std::to_string(NumDefaultOps) +
llvm::to_string(Dst->getNumChildren()) +
" explicit ones and " + llvm::to_string(NumDefaultOps) +
" default ones");

return DstMIBuilder;
Expand Down

0 comments on commit 571ecd0

Please sign in to comment.