From: Chris Lattner Date: Thu, 23 Aug 2007 05:21:48 +0000 (+0000) Subject: default this to radix 10 like the toString(Un)Signed methods. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=006f5a3c66cfd4bb648a4fe5f4c9bb0b86ccf940;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h index b73ee76c082..a04f8425ece 100644 --- a/include/llvm/ADT/APSInt.h +++ b/include/llvm/ADT/APSInt.h @@ -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()); }