[PATCH] D117056: [clangd] Properly compute framework-style include spelling

David Goldman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 11 14:38:14 PST 2022


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

With this change, clangd now computes framework-style includes
for framework headers at indexing time.

This also updates HeaderSearch to consistently set the Framework
HeaderFileInfo field for framework headers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117056

Files:
  clang-tools-extra/clangd/index/SymbolCollector.cpp
  clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
  clang/lib/Lex/HeaderSearch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117056.399085.patch
Type: text/x-patch
Size: 9364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220111/7328eb1f/attachment.bin>


More information about the cfe-commits mailing list