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

Michael Spencer bigcheesegs at gmail.com
Thu Feb 16 01:22:02 PST 2012


On Thu, Feb 16, 2012 at 12:37 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Michael,
>
>> I have a use case for this in lld.
>
> is this supposed to work when there is leading whitespace?
>
> Ciao, Duncan.

No, as the other's don't, and most parsers handle this already.

- Michael Spencer



More information about the llvm-commits mailing list