Traits for closed intervals [a;b]used by IntervalMap.
Declared in <llvm/ADT/IntervalMap.h>
template<typename T>
struct IntervalMapInfo;
| Name | Description |
|---|---|
adjacent | adjacent - Return true when the intervals [x;a]and [b;y]can coalesce. This is a+1 == b for closed intervals, a == b for half-open intervals. |
nonEmpty | nonEmpty - Return true if [a;b]is non-empty. This is a <= b for a closed interval, a < b for [a;b) half-open intervals.] |
startLess | startLess - Return true if x is not in [a;b]. This is x < a both for closed intervals and for [a;b) half-open intervals.] |
stopLess | stopLess - Return true if x is not in [a;b]. This is b < x for a closed interval, b <= x for [a;b) half-open intervals.] |
| Name | Description |
|---|---|
IntervalMapInfo<SlotIndex> | Traits specializing IntervalMap for half-open SlotIndex intervals. |