summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitf0a3c46739df99b44075d7491ff7d0611852a1ed (patch)
treef1354301cbafe1fce7d5161a186377368ca9f017 /llvm/unittests/Support
parentf5e2dc3c3d86a28f0260c9289a4c607050a1865a (diff)
downloadbcm5719-llvm-f0a3c46739df99b44075d7491ff7d0611852a1ed.tar.gz
bcm5719-llvm-f0a3c46739df99b44075d7491ff7d0611852a1ed.zip
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
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/IntegersSubsetTest.cpp1
1 files changed, 1 insertions, 0 deletions
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); }
OpenPOWER on IntegriCloud