This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Avoid triggering linkage computation for decl with unstable linkage in SymbolRelevanceSignals::computeASTSignals()
ClosedPublic

Authored by nridge on Dec 20 2022, 1:34 AM.

Diff Detail

Event Timeline

nridge created this revision.Dec 20 2022, 1:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2022, 1:34 AM
nridge requested review of this revision.Dec 20 2022, 1:34 AM
nridge added inline comments.Dec 20 2022, 1:35 AM
clang-tools-extra/clangd/Quality.cpp
306

Would it be better to reuse this getSymbolID overload instead? (Would require plumbing in a SourceManager to this call site.)

sammccall accepted this revision.Dec 20 2022, 4:00 AM

Thanks!

clang-tools-extra/clangd/Quality.cpp
306

Ah, that requirement is unfortunate. It'd be nice if it worked but not worth changing signature I think.

This revision is now accepted and ready to land.Dec 20 2022, 4:00 AM
This revision was landed with ongoing or failed builds.Dec 20 2022, 6:56 PM
This revision was automatically updated to reflect the committed changes.