diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-30 19:20:19 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-30 19:20:19 +0000 |
commit | ff09e56cda85c1740ac1689018dfe0d3cf49ae6c (patch) | |
tree | 6268c3c2944f1b623f58e080c9080015eb9f7609 /utils | |
parent | 6ab75b4dcbac0a2538177ed34819704f5e5373ee (diff) | |
download | external_llvm-ff09e56cda85c1740ac1689018dfe0d3cf49ae6c.zip external_llvm-ff09e56cda85c1740ac1689018dfe0d3cf49ae6c.tar.gz external_llvm-ff09e56cda85c1740ac1689018dfe0d3cf49ae6c.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/RegisterInfoEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp index 0d0c325..f8af06c 100644 --- a/utils/TableGen/RegisterInfoEmitter.cpp +++ b/utils/TableGen/RegisterInfoEmitter.cpp @@ -480,7 +480,7 @@ DiffVec &diffEncode(DiffVec &V, unsigned InitVal, ArrayRef<unsigned> List) { } static void printDiff16(raw_ostream &OS, uint16_t Val) { - OS << SignExtend32<16>(Val); + OS << Val; } // |