Revert "[ORC][RPC] Make the future type of an Orc RPC call Error/Expected rather...
authorReid Kleckner <rnk@google.com>
Tue, 30 Aug 2016 15:12:58 +0000 (15:12 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 30 Aug 2016 15:12:58 +0000 (15:12 +0000)
commit9581f2dda8fac638b456f826d0f2a0e9a5fa2fea
treea17aae2ac5a6d2fa4ee012a52e60803d9c4c66e8
parentb0abba5c329a4a8c8349c8945cf31ba5e9fe4675
Revert "[ORC][RPC] Make the future type of an Orc RPC call Error/Expected rather than"

This reverts commit r280016, and the followups of r280017, r280027,
r280051, r280058, and r280059.

MSVC's implementation of std::promise does not get along with
llvm::Error. It uses its promised value too much like a normal value
type.

llvm-svn: 280100
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
llvm/include/llvm/Support/Error.h
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp