Michael LeMay cbbb2b1243 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285957 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-03 19:14:46 +00:00
..
2016-04-18 09:17:29 +00:00
2016-08-10 19:50:14 +00:00
2016-10-18 17:50:39 +00:00
2016-10-19 18:02:21 +00:00
2016-08-10 17:52:09 +00:00
2016-04-18 09:17:29 +00:00