Convert APint::{fromString,APInt,getBitsNeeded} to use StringRef.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 13 Aug 2009 02:33:34 +0000 (02:33 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 13 Aug 2009 02:33:34 +0000 (02:33 +0000)
commit689ad6ef3fd2e89394f1e8860dfebfe56b73c3da
tree8f87f91f4fabaf5a9ce4c06a2896b634cd162cd3
parent28865062c1ef60e47f0ac23a5ebc22eaf0d1b184
Convert APint::{fromString,APInt,getBitsNeeded} to use StringRef.
 - Patch by Erick Tryzelaar, with some edits (and a bug fix) from me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78885 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
lib/AsmParser/LLLexer.cpp
lib/Support/APInt.cpp
unittests/ADT/APIntTest.cpp