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

llvm-svn: 41311
This commit is contained in:
Chris Lattner 2007-08-23 05:21:48 +00:00
parent 66d4ebe00f
commit 346bc59e4f

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());
}