[llvm-commits] [PATCH] Handle negative values in StringRef::getAsInteger(unsigned Radix, APInt &).

Chris Lattner clattner at apple.com
Thu Feb 16 08:20:51 PST 2012


On Feb 15, 2012, at 4:25 PM, Michael Spencer wrote:

> I have a use case for this in lld.


This is sorta strange to me, how about adding an APSInt overload that allows negative (also weird) or a new getAsSignedInteger method (probably better)?

-Chris



More information about the llvm-commits mailing list