mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[BitVector] Make find_prev member function const.
NFC. llvm-svn: 302458
This commit is contained in:
parent
336c798846
commit
5808c2f470
@ -255,7 +255,7 @@ public:
|
||||
|
||||
/// find_prev - Returns the index of the first set bit that precedes the
|
||||
/// the bit at \p PriorTo. Returns -1 if all previous bits are unset.
|
||||
int find_prev(unsigned PriorTo) {
|
||||
int find_prev(unsigned PriorTo) const {
|
||||
if (PriorTo == 0)
|
||||
return -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user