[PATCH] D57021: [clangd] Suggest adding missing includes for typos (like include-fixer).

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 21 08:17:29 PST 2019


ioeric created this revision.
ioeric added a reviewer: sammccall.

This adds include-fixer feature into clangd based on D56903 <https://reviews.llvm.org/D56903>. Clangd now captures
diagnostics caused by typos and attach include insertion fixes to potentially
fix the typo.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D57021

Files:
  change-namespace/ChangeNamespace.cpp
  clangd/ClangdUnit.cpp
  clangd/IncludeFixer.cpp
  clangd/IncludeFixer.h
  unittests/clangd/IncludeFixerTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57021.182798.patch
Type: text/x-patch
Size: 14670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190121/f8a10ecd/attachment.bin>


More information about the cfe-commits mailing list