[ORC][RPC] Fix typo in RPC comments: call primitives on void functions return

future<Error>, not future<bool>.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2016-08-29 21:57:52 +00:00
parent d6f8e0f876
commit 55a983f6cd

View 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) {