[all-commits] [llvm/llvm-project] 97c407: [clangd] Make use of URIs in FileShardedIndex

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Apr 30 00:51:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97c407db772521cd69a86433672f981a13c0abb2
      https://github.com/llvm/llvm-project/commit/97c407db772521cd69a86433672f981a13c0abb2
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M clang-tools-extra/clangd/index/Background.cpp
    M clang-tools-extra/clangd/index/FileIndex.cpp
    M clang-tools-extra/clangd/index/FileIndex.h
    M clang-tools-extra/clangd/unittests/FileIndexTests.cpp

  Log Message:
  -----------
  [clangd] Make use of URIs in FileShardedIndex

Summary:
This makes FileShardedIndex more robust and gets rid of the need for a
URIToFileCache, as it is done by the callers now and it is only once per file,
rather than once per symbol.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list