[all-commits] [llvm/llvm-project] 934765: [clangd] Add xref for macro to static index.

UTKARSH SAXENA via All-commits all-commits at lists.llvm.org
Wed Dec 4 19:24:10 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9347655a275456c08222833b11ec699fafbc6de6
      https://github.com/llvm/llvm-project/commit/9347655a275456c08222833b11ec699fafbc6de6
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

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

  Log Message:
  -----------
  [clangd] Add xref for macro to static index.

Summary:
This adds the references for macros to the SymbolCollector (used for static index).
Enabled if `CollectMacro` option is set.

Reviewers: hokein

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

Tags: #clang

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




More information about the All-commits mailing list