Added unittests for IntegersSubset and IntegersSubsetMapping.
authorStepan Dyatkovskiy <stpworld@narod.ru>
Sat, 2 Jun 2012 13:47:12 +0000 (13:47 +0000)
committerStepan Dyatkovskiy <stpworld@narod.ru>
Sat, 2 Jun 2012 13:47:12 +0000 (13:47 +0000)
commit31219d2cec17dca632b6d047a15e86dc92b76e18
tree1cde3ac4e9b2be0513352ee40a315e69f6c7fcb7
parentd9b0b025612992a0b724eeca8bdf10b1d7a5c355
Added unittests for IntegersSubset and IntegersSubsetMapping.
- Fixed IntegersSubsetGeneric copy/assignment behaviour.
- Fixed IntegersSubsetGeneric::getSize/getSingleValue methods.
- Fixed IntegersSubsetGeneric::verify method.

Also IntegersSubset.h and IntegersSubsetMapping.h headers was fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157887 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IntegersSubset.h
include/llvm/Support/IntegersSubsetMapping.h
unittests/Support/IntegersSubsetTest.cpp [new file with mode: 0644]