[clangd] Consume error to avoid assertion failures
authorIlya Biryukov <ibiryukov@google.com>
Wed, 10 Jul 2019 09:18:09 +0000 (09:18 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Wed, 10 Jul 2019 09:18:09 +0000 (09:18 +0000)
commit18cb8e401c456eed71ba49a0930d3887cb652363
tree93b5b528b5df6c87ae51d838a9b7cff68db25242
parent7e296adec7ad9506ed8dd1e434ef230d134e17a8
[clangd] Consume error to avoid assertion failures

When we fail to calculate #include insertion for a completion item.
Note that this change does not add a test, although that would be good.

llvm-svn: 365606
clang-tools-extra/clangd/CodeComplete.cpp