Update other SizeEnums to be of type uptr as well

llvm-svn: 319984
This commit is contained in:
Vlad Tsyrklevich 2017-12-06 23:02:02 +00:00
parent 266e9817f7
commit 5407edd375
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class TwoLevelBitVector {
// This structure allows O(kLevel1Size) time for clear() and empty(),
// as well fast handling of sparse BVs.
public:
enum SizeEnum { kSize = BV::kSize * BV::kSize * kLevel1Size };
enum SizeEnum : uptr { kSize = BV::kSize * BV::kSize * kLevel1Size };
// No CTOR.
uptr size() const { return kSize; }

View File

@ -25,7 +25,7 @@ namespace __sanitizer {
template<class BV>
class BVGraph {
public:
enum SizeEnum { kSize = BV::kSize };
enum SizeEnum : uptr { kSize = BV::kSize };
uptr size() const { return kSize; }
// No CTOR.
void clear() {