Namings are important. Renamed Bits32(const uint32_t val, uint32_t bit) to Bit32(val, bit) and

SetBits32(uint32_t &bits, uint32_t bit, uint32_t val) to SetBit32(bits, bit, val).

llvm-svn: 125312
This commit is contained in:
Johnny Chen
2011-02-10 21:39:01 +00:00
parent f190990546
commit c843a78efc
2 changed files with 28 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ Bits32 (const uint32_t value, const uint32_t msbit, const uint32_t lsbit)
}
static inline uint32_t
Bits32 (const uint32_t value, const uint32_t bit)
Bit32 (const uint32_t value, const uint32_t bit)
{
return Bits32(value, bit, bit);
}
@@ -37,9 +37,9 @@ SetBits32(uint32_t &bits, unsigned msbit, unsigned lsbit, unsigned val)
}
static inline void
SetBits32(uint32_t &bits, unsigned bit, unsigned val)
SetBit32(uint32_t &bits, unsigned bit, unsigned val)
{
SetBits32(bits, bit, val);
SetBits32(bits, bit, bit, val);
}
// Create a mask that starts at bit zero and includes "bit"