[PATCH] D60937: [clangd] Fix code completion of macros defined in the preamble region of the main file.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 03:31:55 PDT 2019


sammccall updated this revision to Diff 197734.
sammccall added a comment.
Herald added a subscriber: mgrang.

Record macro names while building preamble instead of lexing it later.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60937/new/

https://reviews.llvm.org/D60937

Files:
  clangd/ClangdUnit.cpp
  clangd/ClangdUnit.h
  clangd/CodeComplete.cpp
  clangd/index/SymbolCollector.cpp
  clangd/unittests/CodeCompleteTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60937.197734.patch
Type: text/x-patch
Size: 10399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190502/e3890a75/attachment.bin>


More information about the cfe-commits mailing list