llvm.org GIT mirror llvm / f7b71c6
add a helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39885 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4949 bool isSigned() const { return !IsUnsigned; }
5050 bool isUnsigned() const { return IsUnsigned; }
5151 void setIsUnsigned(bool Val) { IsUnsigned = Val; }
52 void setIsSigned(bool Val) { IsUnsigned = !Val; }
5253
5354
5455 const APSInt &operator%=(const APSInt &RHS) {