swift-unidoc
swift-unidoc copied to clipboard
IndexStoreDB not emitting information about out-of-Snippet symbols
details in #245
based on offline sync with @ahoppen , it looks like this is not supported at the indexstore-db library level, it is a C API-only feature.
it seems the intended behavior of IndexStoreDB.symbols(inFilePath:) is to list the definitions, not occurrences, of symbols in the current file, when what we really need is to list all occurrences.
this PR implements the API we need on the Apple side: https://github.com/apple/indexstore-db/pull/202