diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ADT/APSInt.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/APSInt.h b/llvm/include/llvm/ADT/APSInt.h index be419272fec..0b98f74bd0b 100644 --- a/llvm/include/llvm/ADT/APSInt.h +++ b/llvm/include/llvm/ADT/APSInt.h @@ -223,7 +223,7 @@ public:      assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");      return APSInt(static_cast<const APInt&>(*this) - RHS, IsUnsigned);    } -  APSInt operator~() {     +  APSInt operator~() const {          return APSInt(~static_cast<const APInt&>(*this), IsUnsigned);    }  | 

