OSDN Git Service

fix a off-by-one bug in intersectWith(), and add a bunch of tests
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 28 Jun 2012 00:59:33 +0000 (00:59 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 28 Jun 2012 00:59:33 +0000 (00:59 +0000)
commit532516a87bc57f21e6d99f49548e4c2adf835551
treeeb4dd8852caf33c4c01be6f44c463e6c4adbf7d3
parent58a6cf2c620ce4c127b926408d78aa607a373251
fix a off-by-one bug in intersectWith(), and add a bunch of tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159319 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ConstantRange.cpp
unittests/Support/ConstantRangeTest.cpp