From d1365047a150e8c2d06bc226368a2afc3baf5c3c Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 11 Nov 2016 22:16:10 +0000 Subject: [PATCH] [ORC] Temporarily fix the RPCUtils unit test by explicitly specifying a handler return type. This should be fixed permanently by having the RPCUtils header recognize the ErrorSuccess type. I'll commit that in a follow up patch. llvm-svn: 286646 --- unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp index 4d703c78a0e..565ebfa3f8f 100644 --- a/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp +++ b/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp @@ -191,7 +191,7 @@ TEST(DummyRPC, TestSerialization) { Server.addHandler( [&](int8_t S8, uint8_t U8, int16_t S16, uint16_t U16, int32_t S32, uint32_t U32, int64_t S64, uint64_t U64, - bool B, std::string S, std::vector V) { + bool B, std::string S, std::vector V) -> Error { EXPECT_EQ(S8, -101) << "int8_t serialization broken"; EXPECT_EQ(U8, 250) << "uint8_t serialization broken";