[PATCH] D70489: [clangd] Add xref for macro to static index.

UTKARSH SAXENA via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 06:23:10 PST 2019


usaxena95 created this revision.
usaxena95 added a reviewer: hokein.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70489

Files:
  clang-tools-extra/clangd/index/SymbolCollector.cpp
  clang-tools-extra/clangd/index/SymbolCollector.h
  clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70489.230250.patch
Type: text/x-patch
Size: 11654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191120/eb5e7069/attachment-0001.bin>


More information about the cfe-commits mailing list