From: Diana Picus Date: Wed, 17 May 2017 09:25:08 +0000 (+0000) Subject: Fixup r303240: Use llvm::to_string instead of std::to_string X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb2057ce1dc5466ba2a162d63108eceb324b45e8;p=platform%2Fupstream%2Fllvm.git Fixup r303240: Use llvm::to_string instead of std::to_string It turns out some of the buildbots don't have std::to_string around, even in this day and age... llvm-svn: 303243 --- diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp index 3f77cac..2b624d9 100644 --- a/llvm/utils/TableGen/GlobalISelEmitter.cpp +++ b/llvm/utils/TableGen/GlobalISelEmitter.cpp @@ -1538,10 +1538,10 @@ Expected 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;