This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Move inserted include from detail -> documentation.
ClosedPublic

Authored by sammccall on Apr 29 2020, 11:11 AM.

Details

Summary

Many clients try to display all the detail inline, with poor results.

Diff Detail

Event Timeline

sammccall created this revision.Apr 29 2020, 11:11 AM
hokein accepted this revision.Apr 30 2020, 4:52 AM
hokein added inline comments.
clang-tools-extra/clangd/CodeComplete.cpp
1834

#include => From, IIUC discussion from the chat.

maybe worth a comment explaining why we make such a decision, the description seems good enough.

This revision is now accepted and ready to land.Apr 30 2020, 4:52 AM
sammccall marked an inline comment as done.Apr 30 2020, 10:58 AM

This needed a nontrivial merge after D79157, because we need to concatenate markup::Documents. Don't think there's anything surprising in there so going ahead, happy to address any comments though.

This revision was automatically updated to reflect the committed changes.