[clangd][remote] Check an index file correctly
There is not reason to check `std::make_unique<...>(..)` return value, but `clangd::clang::loadIndex()` returns `nullptr` if an index file could not be loaded (e.g. incorrect version). Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D91049
Loading
Please sign in to comment