1
0
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:
Zachary Turner 2017-05-08 19:45:55 +00:00
parent 336c798846
commit 5808c2f470

View File

@ -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;