[LLVMdev] APInt::getBitsSet

Chris Lattner sabre at nondot.org
Mon Feb 11 21:51:49 PST 2008


On Feb 11, 2008, at 3:47 PM, Dan Gohman wrote:

> APInt::getBitsSet's loBit and hiBit arguments describe a range that's
> inclusive
> on both ends. Would anyone mind if we change it to be a "half-open"
> range,
> meaning exclusive on the high end?

I think that is much more consistent with the way the STL works, and  
is thus less surprising, go for it!

-Chris



More information about the llvm-dev mailing list