This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Config: also propagate in sync (testing) mode
ClosedPublic

Authored by sammccall on Jul 14 2020, 11:37 AM.

Details

Summary

Tests are coming (really!).

I hit this while trying to add a config-over-LSP lit test, which I think
is an appropriate way to test this feature.

That needs a few more changes though...

Diff Detail

Event Timeline

sammccall created this revision.Jul 14 2020, 11:37 AM
kadircet accepted this revision.Jul 15 2020, 1:44 AM

thanks, lgtm.

clang-tools-extra/clangd/TUScheduler.cpp
1241

nit: braces

This revision is now accepted and ready to land.Jul 15 2020, 1:44 AM
sammccall marked an inline comment as done.Jul 15 2020, 3:30 AM

Also added one direct test for this.

This revision was automatically updated to reflect the committed changes.