[all-commits] [llvm/llvm-project] 979228: [clangd][fuzzyFind] Do not show stale symbols in t...

Aleksandr Platonov via All-commits all-commits at lists.llvm.org
Wed Jan 6 00:23:39 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 979228f120f4aa1265648b1c06f65a84bcca1ed6
      https://github.com/llvm/llvm-project/commit/979228f120f4aa1265648b1c06f65a84bcca1ed6
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M clang-tools-extra/clangd/index/Merge.cpp
    M clang-tools-extra/clangd/index/Merge.h
    M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
    M clang-tools-extra/clangd/unittests/IndexTests.cpp

  Log Message:
  -----------
  [clangd][fuzzyFind] Do not show stale symbols in the result.

This is follow up to D93393.
Without this patch `MergedIndex::fuzzyFind()` returns stale symbols from the static index even if these symbols were removed.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D93796




More information about the All-commits mailing list