undo DocumentStore constness changes

This commit is contained in:
Techatrix
2022-10-16 17:17:40 +02:00
parent 06ba47d460
commit 25ce5dd8aa
6 changed files with 33 additions and 33 deletions

View File

@@ -56,11 +56,11 @@ pub fn labelReferences(
const Builder = struct {
arena: *std.heap.ArenaAllocator,
locations: std.ArrayListUnmanaged(types.Location),
store: *const DocumentStore,
store: *DocumentStore,
decl: analysis.DeclWithHandle,
encoding: offsets.Encoding,
pub fn init(arena: *std.heap.ArenaAllocator, store: *const DocumentStore, decl: analysis.DeclWithHandle, encoding: offsets.Encoding) Builder {
pub fn init(arena: *std.heap.ArenaAllocator, store: *DocumentStore, decl: analysis.DeclWithHandle, encoding: offsets.Encoding) Builder {
return Builder{
.arena = arena,
.locations = .{},
@@ -457,7 +457,7 @@ fn symbolReferencesInternal(
pub fn symbolReferences(
arena: *std.heap.ArenaAllocator,
store: *const DocumentStore,
store: *DocumentStore,
decl_handle: analysis.DeclWithHandle,
encoding: offsets.Encoding,
include_decl: bool,