This is an archive of the discontinued LLVM Phabricator instance.

[clangd][remote-client] Set HasMore to true for failure
ClosedPublic

Authored by kadircet on May 5 2021, 8:48 AM.

Details

Summary

Currently client was setting the HasMore to true iff stream said so.
Hence if we had a broken stream for whatever reason (e.g. hitting deadline for a
huge response), HasMore would be false, which is semantically incorrect (e.g.
will throw rename off).

Diff Detail

Event Timeline

kadircet created this revision.May 5 2021, 8:48 AM
kadircet requested review of this revision.May 5 2021, 8:48 AM
kbobyrev accepted this revision.May 10 2021, 10:48 PM

Good catch, thanks!

This revision is now accepted and ready to land.May 10 2021, 10:48 PM
This revision was landed with ongoing or failed builds.May 10 2021, 11:27 PM
This revision was automatically updated to reflect the committed changes.