kadircet added a comment. Since it doesn't change any CXCompletionContext's in CIndex it doesn't seem possible. There are tests being added to clangd(https://reviews.llvm.org/D53192), since it uses context provided by sema to decide whether query the index or not, we can check the behavior.
Repository: rC Clang https://reviews.llvm.org/D53191 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits