[clangd] Simplify the callside of URI::resolve, NFC.

Summary:
- Add a overrloded URI::resolve, which accepts a string URI;
- also fixed some callside that don't check the error;

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

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

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