It doesn't make much sense: setting them is not coupled to opening the file,
it's an asynchronous notification.
I don't think this is a breaking change - this behavior is hard to observe!
Paths
| Differential D53642
[clangd] Don't invalidate LSP-set compile commands when closing a file. ClosedPublic Authored by sammccall on Oct 24 2018, 6:09 AM.
Details Summary It doesn't make much sense: setting them is not coupled to opening the file, I don't think this is a breaking change - this behavior is hard to observe!
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, kadircet, arphaman and 3 others. · View Herald TranscriptOct 24 2018, 6:09 AM This revision is now accepted and ready to land.Oct 24 2018, 9:55 AM Closed by commit rCTE345231: [clangd] Don't invalidate LSP-set compile commands when closing a file. (authored by sammccall). · Explain WhyOct 24 2018, 7:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 171033 clangd/ClangdLSPServer.h
clangd/ClangdLSPServer.cpp
clangd/GlobalCompilationDatabase.h
clangd/GlobalCompilationDatabase.cpp
|