[clangd] Handle multiple callbacks from Sema's completion

Summary:
When parser backtracks, we might receive multiple code completion
callbacks.
Previously we had a failing assertion there, now we take first results
and hope they are good enough.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: klimek, jkorous-apple, ioeric, cfe-commits

Differential Revision: https://reviews.llvm.org/D44567

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@327717 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed