Skip to content

Commit

Permalink
Add aggregate type interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Goodman committed Jun 17, 2024
1 parent 7c77217 commit feca709
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bin/Index/Persist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,11 +910,13 @@ void GlobalIndexingState::PersistFragment(

// Associate the range of file tokens with the fragment. This helps with
// implementing things like regular expression (via RE2) searches over code.
database.AddAsync(
mx::FragmentFileRangeRecord{
pf.fragment_id,
pf.file_location->first_file_token_id,
pf.file_location->last_file_token_id});
if (!pf.raw_parent_entity) {
database.AddAsync(
mx::FragmentFileRangeRecord{
pf.fragment_id,
pf.file_location->first_file_token_id,
pf.file_location->last_file_token_id});
}
}

auto tlds = fb.initTopLevelDeclarations(pf.num_top_level_declarations);
Expand Down
1 change: 1 addition & 0 deletions cmake/vast.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ set(VAST_LIBS
VAST::VASTCodeGen
VAST::VASTFrontend
VAST::VASTSymbolInterface
VAST::VASTAggregateTypeDefinitionInterface
)

0 comments on commit feca709

Please sign in to comment.