[clangd][NFC] Explode ReceivedPreamble into a CV
authorKadir Cetinkaya <kadircet@google.com>
Fri, 29 May 2020 09:45:06 +0000 (11:45 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 9 Jun 2020 15:54:32 +0000 (17:54 +0200)
commit406ac49fb05e04e874623a3e955276a134dc82ea
tree15c6120567c23bde369a292b6a2759f831e73c3c
parent55c365d247b1df358eddba5a98337c8ab9f1e7b0
[clangd][NFC] Explode ReceivedPreamble into a CV

Summary:
Instead of a notification, we make use of a CV and store the boolean on
LatestPreamble by converting it into an optional.

Depends on D80293.

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80784
clang-tools-extra/clangd/TUScheduler.cpp