[all-commits] [llvm/llvm-project] 2522fa: [clangd] Do not take stale definition from the sta...

Aleksandr Platonov via All-commits all-commits at lists.llvm.org
Wed Dec 23 07:26:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2522fa053b62520ae48b4b27117ca003a2c878ab
      https://github.com/llvm/llvm-project/commit/2522fa053b62520ae48b4b27117ca003a2c878ab
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

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

  Log Message:
  -----------
  [clangd] Do not take stale definition from the static index.

This is follow up to D93393.
Without this patch clangd takes the symbol definition from the static index if this definition was removed from the dynamic index.

Reviewed By: sammccall

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




More information about the All-commits mailing list