ioeric planned changes to this revision. ioeric added a comment. I just realized that `CodeCompleteFlow` would be blocked by the speculative index request even when index request is not needed (e.g. member access), because it owns the future object. This can make some completion requests slower. We may need to move the async index query into the `ClangdServer::codeComplete` so that completion callback can be invoked as soon as results are ready, without having to wait for speculative index results.
F7000668: future-redundant-wait.png <https://reviews.llvm.org/F7000668> Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D50962 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits