Fix a bug in compare_numeric().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 30 Sep 2011 17:03:55 +0000 (17:03 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 30 Sep 2011 17:03:55 +0000 (17:03 +0000)
commit7850dd0f25ccc5da6df54999a907e1277ed055d6
treed53902adb2e10f16472079f3eeab3b5627d03266
parent5bc93e782e5e2ef33adeb8b395484d2c190abda1
Fix a bug in compare_numeric().

Thanks to Alexandru Dura and Jonas Paulsson for finding it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/StringRef.cpp
unittests/ADT/StringRefTest.cpp