[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h
Reid Spencer
reid at x10sys.com
Sat Feb 17 16:44:43 PST 2007
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.11 -> 1.12
---
Log message:
Implement signed output for toString.
Fix bugs in countLeadingZeros and countTrailingZeros.
---
Diffs of the changes: (+1 -1)
APInt.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APInt.h:1.11 llvm/include/llvm/ADT/APInt.h:1.12
--- llvm/include/llvm/ADT/APInt.h:1.11 Fri Feb 16 18:18:01 2007
+++ llvm/include/llvm/ADT/APInt.h Sat Feb 17 18:44:22 2007
@@ -456,7 +456,7 @@
}
/// @returns a character interpretation of the APInt.
- std::string toString(uint8_t radix = 10) const;
+ std::string toString(uint8_t radix = 10, bool wantSigned = true) const;
/// Get an APInt with the same BitWidth as this APInt, just zero mask
/// the low bits and right shift to the least significant bit.
More information about the llvm-commits
mailing list