[PATCH] D43462: [clangd] Fixes for #include insertion.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 06:40:10 PST 2018


ioeric created this revision.
ioeric added reviewers: sammccall, ilya-biryukov.
Herald added subscribers: cfe-commits, jkorous-apple, klimek.

o Avoid inserting a header include into the header itself.
o Avoid inserting non-header files.
o Canonicalize include paths for symbols in dynamic index.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43462

Files:
  clangd/ClangdServer.cpp
  clangd/Headers.cpp
  clangd/Headers.h
  clangd/index/FileIndex.cpp
  unittests/clangd/FileIndexTests.cpp
  unittests/clangd/HeadersTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43462.134904.patch
Type: text/x-patch
Size: 8312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180219/783d1287/attachment.bin>


More information about the cfe-commits mailing list