summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-02-13 08:59:23 +0000
committerSam McCall <sam.mccall@gmail.com>2018-02-13 08:59:23 +0000
commit0bb24cd4fabb15c4d17adb26db08bc1ef9de9920 (patch)
treec31af4822cc9e55b1a92ea3ac5baf1decbddc5b1 /clang/lib/Sema/SemaDeclCXX.cpp
parentf684c9c83c62b4b7552911f41eddb38552ec62d5 (diff)
downloadbcm5719-llvm-0bb24cd4fabb15c4d17adb26db08bc1ef9de9920.tar.gz
bcm5719-llvm-0bb24cd4fabb15c4d17adb26db08bc1ef9de9920.zip
[clangd] Stop exposing Futures from ClangdServer operations.
Summary: LSP has asynchronous semantics, being able to block on an async operation completing is unneccesary and leads to tighter coupling with the threading. In practice only tests depend on this, so we add a general-purpose "block until idle" function to the scheduler which will work for all operations. To get this working, fix a latent condition-variable bug in ASTWorker, and make AsyncTaskRunner const-correct. Reviewers: ilya-biryukov Subscribers: klimek, jkorous-apple, ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D43127 llvm-svn: 324990
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud