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