mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 16:21:36 +00:00
add missing operator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
44ad43033e
commit
ef65293dc2
@ -542,6 +542,10 @@ public:
|
||||
APInt operator-(uint64_t RHS) const {
|
||||
return (*this) - APInt(BitWidth, RHS);
|
||||
}
|
||||
|
||||
APInt operator<<(unsigned Bits) const {
|
||||
return shl(Bits);
|
||||
}
|
||||
|
||||
/// Arithmetic right-shift this APInt by shiftAmt.
|
||||
/// @brief Arithmetic right-shift function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user