aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-23 05:15:32 +0000
committerChris Lattner <sabre@nondot.org>2007-08-23 05:15:32 +0000
commit9b502d40396d6515559d10a4056e3e4c4089b10d (patch)
treeb31a8cddd0f652d3bc2e363a542dfc0b69067ea6 /lib/Support
parent350122124028d0795526e25007c9fec2919d4780 (diff)
downloadexternal_llvm-9b502d40396d6515559d10a4056e3e4c4089b10d.zip
external_llvm-9b502d40396d6515559d10a4056e3e4c4089b10d.tar.gz
external_llvm-9b502d40396d6515559d10a4056e3e4c4089b10d.tar.bz2
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()
Add an APSInt::toString() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/APInt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp
index 173f28c..277a0b0 100644
--- a/lib/Support/APInt.cpp
+++ b/lib/Support/APInt.cpp
@@ -2008,8 +2008,8 @@ void APInt::dump() const
else for (unsigned i = getNumWords(); i > 0; i--) {
cerr << pVal[i-1] << " ";
}
- cerr << " U(" << this->toString(10) << ") S(" << this->toStringSigned(10)
- << ")\n" << std::setbase(10);
+ cerr << " U(" << this->toStringUnsigned(10) << ") S("
+ << this->toStringSigned(10) << ")\n" << std::setbase(10);
}
#endif