[PATCH] D38627: [clangd] Added a move-only function helpers.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 6 07:47:05 PDT 2017


ilya-biryukov created this revision.

They are now used in ClangdScheduler instead of deferred std::async
computations.
The results of `std::async` are much less effective and do not provide
a good abstraction for similar purposes, i.e. for storing additional callbacks
to clangd async tasks. The actual callback API will follow a bit later.


https://reviews.llvm.org/D38627

Files:
  clangd/ClangdServer.cpp
  clangd/ClangdServer.h
  clangd/Function.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38627.118000.patch
Type: text/x-patch
Size: 6741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171006/f6a32e49/attachment-0001.bin>


More information about the cfe-commits mailing list