I've dropped the background context parameter, since we in practice just pass the
current context there, and we now have a different way to specify context too.
While here, clean up a couple of comments.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/ClangdServer.cpp | ||
---|---|---|
185 | The storage factory isn't optional, nor does it have a good default. So it seems mechanically awkward to put it in the struct, and I'm not sure there's much benefit... How would you see this being initialized? |
clang-tools-extra/clangd/ClangdServer.cpp | ||
---|---|---|
185 | I thought we were exposing NullStorage so I was planning for it to be the default for ignorant call sites. But seeing it is not exposed, and this only being used by ClangdServer (and tests), I suppose it is not that important. |
I think we should move storage factory into options too ?