diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-05 07:43:08 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-05 07:43:08 +0000 |
commit | f0a3c46739df99b44075d7491ff7d0611852a1ed (patch) | |
tree | f1354301cbafe1fce7d5161a186377368ca9f017 /llvm/unittests/Support | |
parent | f5e2dc3c3d86a28f0260c9289a4c607050a1865a (diff) | |
download | bcm5719-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.cpp | 1 |
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); } |