[PATCH] D61442: [clangd] Fix header-guard check for include insertion, and don't index header guards.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 05:38:19 PDT 2019


sammccall updated this revision to Diff 197967.
sammccall marked 3 inline comments as done.
sammccall added a comment.

Extract setIncludeLocation() and call it from a more obvious point in the code.
Tweak test to make it harder.


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D61442

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61442.197967.patch
Type: text/x-patch
Size: 20002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190503/4a208139/attachment-0001.bin>


More information about the cfe-commits mailing list