From bd4a9cbbb67e4fcd79ab8c26edf09212e8fabd66 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 29 Aug 2016 21:57:52 +0000 Subject: [PATCH] [ORC][RPC] Fix typo in RPC comments: call primitives on void functions return future, not future. llvm-svn: 280017 --- llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h index 31c22de..5603673 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h @@ -378,7 +378,7 @@ public: /// Serialize Args... to channel C, but do not call C.send(). /// /// Returns an error (on serialization failure) or a pair of: - /// (1) A future Expected (or future for void functions), and + /// (1) A future Expected (or future for void functions), and /// (2) A sequence number. /// /// This utility function is primarily used for single-threaded mode support, @@ -419,7 +419,7 @@ public: /// Serialize Args... to channel C, but do not call send. /// Returns an error if serialization fails, otherwise returns a - /// std::future> (or a future for void functions). + /// std::future> (or a future for void functions). template Expected> appendCallAsync(ChannelT &C, const ArgTs &... Args) { -- 2.7.4