summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ADT/APSInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/APSInt.h b/llvm/include/llvm/ADT/APSInt.h
index b73ee76c082..a04f8425ece 100644
--- a/llvm/include/llvm/ADT/APSInt.h
+++ b/llvm/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());
}
OpenPOWER on IntegriCloud