[all-commits] [llvm/llvm-project] 583ba0: [clangd] Add xref for macros to FileIndex.

UTKARSH SAXENA via All-commits all-commits at lists.llvm.org
Tue Jan 7 23:33:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 583ba07884ed9281d1f1f5311ee2e280c977d62d
      https://github.com/llvm/llvm-project/commit/583ba07884ed9281d1f1f5311ee2e280c977d62d
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

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

  Log Message:
  -----------
  [clangd] Add xref for macros to FileIndex.

Summary:
Adds macro references to the dynamic index.
Tests added.
Also exposed a new API to convert path to URI in URI.h

Reviewers: hokein

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

Tags: #clang

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




More information about the All-commits mailing list