Searched refs:CaptureProxy (Results 1 – 1 of 1) sorted by relevance
28 template <typename T> struct CaptureProxy { struct29 CaptureProxy(llvm::Optional<T> &Target) : Target(&Target) { in CaptureProxy() argument33 CaptureProxy(const CaptureProxy &) = delete;34 CaptureProxy &operator=(const CaptureProxy &) = delete;36 CaptureProxy(CaptureProxy &&Other) : Target(Other.Target) { in CaptureProxy() function39 CaptureProxy &operator=(CaptureProxy &&) = delete;49 ~CaptureProxy() { in ~CaptureProxy() argument66 template <typename T> CaptureProxy<T> capture(llvm::Optional<T> &Target) { in capture()67 return CaptureProxy<T>(Target); in capture()