aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/APSInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h
index 705585c8a0..edb36bafe4 100644
--- a/include/llvm/ADT/APSInt.h
+++ b/include/llvm/ADT/APSInt.h
@@ -23,6 +23,9 @@ namespace llvm {
class APSInt : public APInt {
bool IsUnsigned;
public:
+ /// Default constructor that creates an uninitialized APInt.
+ explicit APSInt() {}
+
/// APSInt ctor - Create an APSInt with the specified width, default to
/// unsigned.
explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)