Reland folding range (#94)

This commit is contained in:
ykiko
2025-02-26 13:20:34 +08:00
committed by GitHub
parent ef4ce069b8
commit 74f1f13aaf
11 changed files with 594 additions and 611 deletions

View File

@@ -8,10 +8,10 @@ namespace clice {
struct LocalSourceRange {
/// The begin position offset to the source file.
uint32_t begin;
uint32_t begin = -1;
/// The end position offset to the source file.
uint32_t end;
uint32_t end = -1;
constexpr bool operator== (const LocalSourceRange& other) const = default;