forked from OSchip/llvm-project
[NFC][Alignment] Remove dead code
This commit is contained in:
parent
76f60931e2
commit
01cfc8a05a
|
@ -314,11 +314,6 @@ bool operator>=(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
|
|||
bool operator<(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
|
||||
bool operator>(MaybeAlign Lhs, MaybeAlign Rhs) = delete;
|
||||
|
||||
inline Align operator*(Align Lhs, uint64_t Rhs) {
|
||||
assert(Rhs > 0 && "Rhs must be positive");
|
||||
return Align(Lhs.value() * Rhs);
|
||||
}
|
||||
|
||||
inline Align operator/(Align Lhs, uint64_t Divisor) {
|
||||
assert(llvm::isPowerOf2_64(Divisor) &&
|
||||
"Divisor must be positive and a power of 2");
|
||||
|
|
Loading…
Reference in New Issue