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.
Paths
| Differential D117056
[clangd] Properly compute framework-style include spelling ClosedPublic Authored by dgoldman on Jan 11 2022, 2:38 PM.
Details Summary With this change, clangd now computes framework-style includes This also updates HeaderSearch to consistently set the Framework
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman. · View Herald TranscriptJan 11 2022, 2:38 PM Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 11 2022, 2:38 PM Comment Actions Nice!
dgoldman marked 18 inline comments as done. Comment ActionsChanges for review
Comment Actions This looks good now, only blocker is dropping the change to LookupFile somehow. Is it valuable to land this before the imminent 14 branch cut? I think it's OK but as an indexing change a crash has the possibility to be really disruptive, and most of the rest of us aren't regularly dogfooding this on Mac.
dgoldman marked 4 inline comments as done. Comment ActionsSupport private headers + private umbrellas
Comment Actions
SGTM to wait until after, the cut is in 2 weeks right? That should be fine Comment Actions Thanks! LG with a couple of optional nits.
This revision is now accepted and ready to land.Jan 26 2022, 12:55 AM Closed by commit rG4dfd11324eb0: [clangd] Properly compute framework-style include spelling (authored by dgoldman). · Explain WhyFeb 4 2022, 1:41 PM This revision was automatically updated to reflect the committed changes. dgoldman added a reverting change: rGfb7ddd0628f4: Revert "[clangd] Properly compute framework-style include spelling".Feb 4 2022, 3:03 PM
Revision Contents
Diff 401671 clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
clang/lib/Lex/HeaderSearch.cpp
|
clang-format: please reformat the code