Fix a bug in the "fromString" method where radix 2,8 and 16 values were
authorReid Spencer <rspencer@reidspencer.com>
Wed, 16 May 2007 19:18:22 +0000 (19:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 16 May 2007 19:18:22 +0000 (19:18 +0000)
commit6551dcdd8a6a28e060a9d6562a381220597dcae3
tree939ed45a654b1bc6bedbb7907ecb10224c4f00b5
parent2b91631e449376aae5f5cd84b5957cfae4ac5e53
Fix a bug in the "fromString" method where radix 2,8 and 16 values were
not being generated correctly because the shl operator does not mutate its
object but returns a new value. Also, make the distinction between radix
16 and the others more clear.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37111 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp