[PATCH] D41996: [clangd] Code completion uses Sema for NS-level things in the current file.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 08:53:10 PST 2018


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, ilya-biryukov, klimek.

To stay fast, it avoids deserializing anything outside the current file, by
disabling the LoadExternal code completion option added in r322377, when the
index is enabled.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41996

Files:
  clangd/CodeComplete.cpp
  unittests/clangd/CodeCompleteTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41996.129637.patch
Type: text/x-patch
Size: 3396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180112/bc2f3e92/attachment.bin>


More information about the cfe-commits mailing list