And mark a couple to be retired afther the next release branch.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
the code looks good to me, but we need to be a bit careful on landing this -- as we have an internal client setting this flag.
clang-tools-extra/clangd/ClangdServer.h | ||
---|---|---|
139 | our internal client explicitly set this to true, so we need a migration plan for this, otherwise this would break our build of internal client during the integration, a possible plan is
Or just remove the flag internally, then land this patch in upstream (but internal release has to pick-up these two together) |
clang-tools-extra/clangd/ClangdServer.h | ||
---|---|---|
139 | Discussed offline - there's no reason to block for out-of-tree clients here. (We're removing support for a configuration - SuggestMissingIncludes = false - which is AFAIK unused anywhere. And we're removing the flag as well, but this is a trivial API change to adapt to) |
clang-tools-extra/clangd/tool/ClangdMain.cpp | ||
---|---|---|
762 | @sammccall The option is always true, do we need it as an option? |
clang-tools-extra/clangd/tool/ClangdMain.cpp | ||
---|---|---|
762 | It's false in tests, except when we're testing the index specifically. Seems sensible to make the struct default true and set it to false explicitly in optsForTest, though. |
our internal client explicitly set this to true, so we need a migration plan for this, otherwise this would break our build of internal client during the integration, a possible plan is
Or just remove the flag internally, then land this patch in upstream (but internal release has to pick-up these two together)