default this to radix 10 like the toString(Un)Signed methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-08-23 05:21:48 +00:00
parent 028760fd88
commit 006f5a3c66

View File

@ -54,7 +54,7 @@ public:
/// This is used internally to convert an APInt to a string.
/// @brief Converts an APInt to a std::string
std::string toString(uint8_t Radix) const {
std::string toString(uint8_t Radix = 10) const {
return APInt::toString(Radix, isSigned());
}