diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-23 05:21:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-23 05:21:48 +0000 |
commit | 006f5a3c66cfd4bb648a4fe5f4c9bb0b86ccf940 (patch) | |
tree | 3d5fc3107e2ec39347c855df7569c36ab1a57ee0 /include/llvm/ADT/APSInt.h | |
parent | 028760fd88081964ace51e4205e28ff52fc1f47a (diff) | |
download | external_llvm-006f5a3c66cfd4bb648a4fe5f4c9bb0b86ccf940.zip external_llvm-006f5a3c66cfd4bb648a4fe5f4c9bb0b86ccf940.tar.gz external_llvm-006f5a3c66cfd4bb648a4fe5f4c9bb0b86ccf940.tar.bz2 |
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
Diffstat (limited to 'include/llvm/ADT/APSInt.h')
-rw-r--r-- | include/llvm/ADT/APSInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h index b73ee76..a04f842 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()); } |