This is a hack to prevent cyclic dependency between clangDaemon and
remote-index-marshalling.
Details
- Reviewers
sammccall - Commits
- rGcab313680703: [clangd] Use ProjectAwareIndex in ClangdMain
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/index/ProjectAware.h | ||
---|---|---|
25–26 | while here, IndexGenerator -> IndexFactory, and "can be use to customize" --> "specifies" now that it's mandatory | |
clang-tools-extra/clangd/tool/ClangdMain.cpp | ||
558 | This sort of a comment seems to be rebutting the previous version of the code, which is important today but probably not in the long run. It may not be needed at all - this factoring actually looks more natural than I expected! | |
561 | maybe just loadExternalIndex, which more clearly describes what it *does* as opposed to where it's passed. |
while here, IndexGenerator -> IndexFactory, and "can be use to customize" --> "specifies" now that it's mandatory