diff options
author | Michael LeMay <michael.lemay@intel.com> | 2016-11-03 19:14:46 +0000 |
---|---|---|
committer | Michael LeMay <michael.lemay@intel.com> | 2016-11-03 19:14:46 +0000 |
commit | 609d85155e666d794edc24f6686f6f591f2672f6 (patch) | |
tree | c58929f311421252a55ddbb8cc1870f7b9e13708 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 454fe154a76b0541606d85a42f30b9bbc336bafe (diff) | |
download | bcm5719-llvm-609d85155e666d794edc24f6686f6f591f2672f6.tar.gz bcm5719-llvm-609d85155e666d794edc24f6686f6f591f2672f6.zip |
[ADT] IntervalMap: fix setStart and setStop
Summary:
These functions currently require that the new closed interval has a length of
at least 2. They also currently permit empty half-open intervals. This patch
defines nonEmpty in each traits structure and uses it to correct the
implementations of setStart and setStop.
Reviewers: stoklund, chandlerc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D26064
llvm-svn: 285957
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions