This is an archive of the discontinued LLVM Phabricator instance.

[clangd] send diagnostic categories only when 'categorySupport' capability was given by the client
ClosedPublic

Authored by arphaman on Aug 21 2018, 5:38 PM.

Details

Summary

After https://reviews.llvm.org/D50571 Clangd started sending categories with each diagnostic, but that broke the eglot client. This patch puts the categories behind a capability to fix that breakage.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman created this revision.Aug 21 2018, 5:38 PM
ilya-biryukov accepted this revision.Aug 22 2018, 2:20 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Aug 22 2018, 2:20 AM
This revision was automatically updated to reflect the committed changes.