[clangd] Extend textDocument/didChange to specify whether diagnostics should be generated.

Summary:
This would allow us to disable diagnostics when didChange is called but
diagnostics are not wanted (e.g. code completion).

Reviewers: sammccall

Subscribers: klimek, ilya-biryukov, jkorous-apple, cfe-commits

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

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