summaryrefslogtreecommitdiff
path: root/unittests/Support
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-06-05 07:43:08 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-06-05 07:43:08 +0000
commit20cb4919cd01967b11b0b468fd43167b263ed028 (patch)
treeca48877a58ffe13de072ac2148f33669f9fc16ea /unittests/Support
parent1d98530196feee3b1b3ddcd793377b9b430a411e (diff)
IntegersSubsetMapping:
Changed type of Items collection: from std::vector to std::list. Also some small fixes made in IntegersSubset.h, IntegersSubsetMapping.h and IntegersSubsetTest.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support')
-rw-r--r--unittests/Support/IntegersSubsetTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Support/IntegersSubsetTest.cpp b/unittests/Support/IntegersSubsetTest.cpp
index 5de1f7c2213..836f29a2696 100644
--- a/unittests/Support/IntegersSubsetTest.cpp
+++ b/unittests/Support/IntegersSubsetTest.cpp
@@ -22,6 +22,7 @@ namespace {
class Int : public APInt {
public:
Int(uint64_t V) : APInt(64, V) {}
+ Int(const APInt& Src) : APInt(Src) {}
bool operator < (const APInt& RHS) const { return ult(RHS); }
bool operator > (const APInt& RHS) const { return ugt(RHS); }
bool operator <= (const APInt& RHS) const { return ule(RHS); }