HomePhabricator

[clangd][remote] Check an index file correctly

Authored by ArcsinX on Nov 9 2020, 10:39 AM.

Description

[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

Details

Committed
ArcsinXNov 9 2020, 10:40 AM
Reviewer
kadircet
Differential Revision
D91049: [clangd][remote] Check an index file correctly
Parents
rG1867091f561b: [FastISel][test] Add ELF triple after D90877
Branches
Unknown
Tags
Unknown