From eb2057ce1dc5466ba2a162d63108eceb324b45e8 Mon Sep 17 00:00:00 2001 From: Diana Picus Date: Wed, 17 May 2017 09:25:08 +0000 Subject: [PATCH] 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 --- llvm/utils/TableGen/GlobalISelEmitter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.7.4