summaryrefslogtreecommitdiff
path: root/include/llvm/Support/IntegersSubset.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-06-03 15:42:12 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-06-03 15:42:12 +0000
commit13776d3fc80e3d5936ecba3a3dc0b20299cf0b6e (patch)
tree69c235a73c5c91ab9d0decd4be71a75b6c5a3ca9 /include/llvm/Support/IntegersSubset.h
parent7678de45b27b6a07ea28113c415ccfcb68871950 (diff)
downloadllvm-13776d3fc80e3d5936ecba3a3dc0b20299cf0b6e.tar.gz
llvm-13776d3fc80e3d5936ecba3a3dc0b20299cf0b6e.tar.bz2
llvm-13776d3fc80e3d5936ecba3a3dc0b20299cf0b6e.tar.xz
IntRange: Restore the copy constuctor explicitly to appase buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IntegersSubset.h')
-rw-r--r--include/llvm/Support/IntegersSubset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/IntegersSubset.h b/include/llvm/Support/IntegersSubset.h
index 998cc73c84..add0c902a9 100644
--- a/include/llvm/Support/IntegersSubset.h
+++ b/include/llvm/Support/IntegersSubset.h
@@ -183,7 +183,9 @@ public:
typedef std::pair<self, self> SubRes;
IntRange() : IsEmpty(true) {}
-
+ IntRange(const self &RHS) :
+ Low(RHS.Low), High(RHS.High),
+ IsEmpty(RHS.IsEmpty), IsSingleNumber(RHS.IsSingleNumber) {}
IntRange(const IntType &C) :
Low(C), High(C), IsEmpty(false), IsSingleNumber(true) {}