Enable formatting (#188)
This commit is contained in:
@@ -46,6 +46,10 @@ struct LocalSourceRange {
|
||||
|
||||
constexpr bool operator== (const LocalSourceRange& other) const = default;
|
||||
|
||||
constexpr auto length() {
|
||||
return end - begin;
|
||||
}
|
||||
|
||||
constexpr bool contains(uint32_t offset) const {
|
||||
return offset >= begin && offset <= end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user