sammccall marked an inline comment as done. sammccall added inline comments.
================ Comment at: clang-tools-extra/clangd/XRefs.cpp:347 +void enhanceLocatedSymbolsFromIndex( + llvm::MutableArrayRef<LocatedSymbol> Result, + const llvm::DenseMap<SymbolID, size_t> &ResultIndex, ---------------- usaxena95 wrote: > nit: ResultIndex looks like an implementation detail of this function and the > callers do not need it. SymbolID is already present as LocatedSymbol::ID so > we can compute this map in this function itself. Nice catch! We were in fact computing all the symbol ids twice, too.. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155898/new/ https://reviews.llvm.org/D155898 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits