From f0a3c46739df99b44075d7491ff7d0611852a1ed Mon Sep 17 00:00:00 2001 From: Stepan Dyatkovskiy Date: Tue, 5 Jun 2012 07:43:08 +0000 Subject: 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. llvm-svn: 157987 --- llvm/unittests/Support/IntegersSubsetTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/unittests/Support/IntegersSubsetTest.cpp') diff --git a/llvm/unittests/Support/IntegersSubsetTest.cpp b/llvm/unittests/Support/IntegersSubsetTest.cpp index 5de1f7c2213..836f29a2696 100644 --- a/llvm/unittests/Support/IntegersSubsetTest.cpp +++ b/llvm/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); } -- cgit v1.2.3