aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/APSInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/APSInt.h')
-rw-r--r--include/llvm/ADT/APSInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h
index 77c1c9a..4eb4be2 100644
--- a/include/llvm/ADT/APSInt.h
+++ b/include/llvm/ADT/APSInt.h
@@ -50,6 +50,7 @@ public:
bool isSigned() const { return !IsUnsigned; }
bool isUnsigned() const { return IsUnsigned; }
void setIsUnsigned(bool Val) { IsUnsigned = Val; }
+ void setIsSigned(bool Val) { IsUnsigned = !Val; }
const APSInt &operator%=(const APSInt &RHS) {