[PATCH] D115679: [clang] Add ability to suggest #import instead of #include.

David Goldman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 13 14:35:40 PST 2021


dgoldman created this revision.
Herald added subscribers: usaxena95, kadircet, arphaman.
dgoldman requested review of this revision.
Herald added subscribers: cfe-commits, ilya-biryukov.
Herald added projects: clang, clang-tools-extra.

This currently isn't used by anything, but will be used by clangd in the
future to suggest #import instead of #include for Objective-C code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115679

Files:
  clang-tools-extra/clangd/CodeComplete.cpp
  clang-tools-extra/clangd/Headers.cpp
  clang-tools-extra/clangd/Headers.h
  clang-tools-extra/clangd/IncludeFixer.cpp
  clang-tools-extra/clangd/unittests/HeadersTests.cpp
  clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
  clang/lib/Tooling/Inclusions/HeaderIncludes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115679.394060.patch
Type: text/x-patch
Size: 7395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211213/6f8049a0/attachment.bin>


More information about the cfe-commits mailing list