From ff09e56cda85c1740ac1689018dfe0d3cf49ae6c Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Wed, 30 May 2012 19:20:19 +0000 Subject: [PATCH] Print uint16_t numbers without a sign. It seems I broke C++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157711 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/RegisterInfoEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp index 0d0c3251fac..f8af06c75fc 100644 --- a/utils/TableGen/RegisterInfoEmitter.cpp +++ b/utils/TableGen/RegisterInfoEmitter.cpp @@ -480,7 +480,7 @@ DiffVec &diffEncode(DiffVec &V, unsigned InitVal, ArrayRef List) { } static void printDiff16(raw_ostream &OS, uint16_t Val) { - OS << SignExtend32<16>(Val); + OS << Val; } //