[ORC][RPC] Fix typo in RPC comments: call primitives on void functions return
authorLang Hames <lhames@gmail.com>
Mon, 29 Aug 2016 21:57:52 +0000 (21:57 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 29 Aug 2016 21:57:52 +0000 (21:57 +0000)
future<Error>, not future<bool>.

llvm-svn: 280017

llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h

index 31c22de..5603673 100644 (file)
@@ -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<T> (or future<bool> for void functions), and
+  /// (1) A future Expected<T> (or future<Error> 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<Expected<T>> (or a future<bool> for void functions).
+  /// std::future<Expected<T>> (or a future<Error> for void functions).
   template <typename Func, typename... ArgTs>
   Expected<AsyncCallResult<Func>> appendCallAsync(ChannelT &C,
                                                   const ArgTs &... Args) {