This is a further optimization of r350803, we drop docs in static index for
symbols not being indexed for completion, while keeping the docs in dynamic
index (we rely on dynamic index to get docs for class members).
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
Comment Actions
Just realized I missed this review, sorry about that.
LGTM with a nit.
clangd/index/FileIndex.cpp | ||
---|---|---|
51 | NIT: maybe mention the rationale here in a comment? Something like // comments for main file can always be obtained from sema, do not store them in the index. |
NIT: maybe mention the rationale here in a comment? Something like // comments for main file can always be obtained from sema, do not store them in the index.