Author: kremenek
Date: Mon Feb  4 10:57:26 2008
New Revision: 46707

URL: http://llvm.org/viewvc/llvm-project?rev=46707&view=rev
Log:
constified operator~().

Modified:
    llvm/trunk/include/llvm/ADT/APSInt.h

Modified: llvm/trunk/include/llvm/ADT/APSInt.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APSInt.h?rev=46707&r1=46706&r2=46707&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/APSInt.h (original)
+++ llvm/trunk/include/llvm/ADT/APSInt.h Mon Feb  4 10:57:26 2008
@@ -223,7 +223,7 @@
     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);
   }
   


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to