This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Use canonical path as resolved path for includes.
ClosedPublic

Authored by VitaNuo on Jul 11 2023, 6:34 AM.

Diff Detail

Event Timeline

VitaNuo created this revision.Jul 11 2023, 6:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 6:34 AM
VitaNuo requested review of this revision.Jul 11 2023, 6:34 AM
kadircet accepted this revision.Jul 11 2023, 6:44 AM
kadircet added inline comments.
clang-tools-extra/clangd/Headers.cpp
57–60

File is already a OptionalFileEntryRef, no need to go to a FileEntry and back into a FileEntryRef

This revision is now accepted and ready to land.Jul 11 2023, 6:44 AM
VitaNuo updated this revision to Diff 539121.Jul 11 2023, 8:32 AM

Address comment.

VitaNuo marked an inline comment as done.Jul 11 2023, 8:34 AM

Thanks.

This revision was landed with ongoing or failed builds.Jul 11 2023, 8:36 AM
This revision was automatically updated to reflect the committed changes.