Home
last modified time | relevance | path

Searched defs:CaptureProxy (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DSyncAPI.cpp28 template <typename T> struct CaptureProxy { struct
29 CaptureProxy(llvm::Optional<T> &Target) : Target(&Target) { in CaptureProxy() argument
36 CaptureProxy(CaptureProxy &&Other) : Target(Other.Target) { in CaptureProxy() function
41 operator llvm::unique_function<void(T)>() && { in operator llvm::unique_function<void(T)>()
49 ~CaptureProxy() { in ~CaptureProxy()
58 llvm::Optional<T> *Target;
62 std::promise<std::shared_ptr<T>> Promise;
63 std::future<std::shared_ptr<T>> Future;