From a258b01b12d429e7009c6f0fcd5ae3a8038be0c5 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 21 Mar 2016 16:56:25 +0000 Subject: [Orc] Switch RPC Procedure to take a function type, rather than an arg list. No functional change, just a little more readable. llvm-svn: 263951 --- llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp') diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp index 8215144..3b01c38 100644 --- a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp @@ -44,18 +44,10 @@ private: class DummyRPC : public testing::Test, public RPC { public: - typedef Procedure<1, bool> Proc1; - typedef Procedure<2, int8_t, - uint8_t, - int16_t, - uint16_t, - int32_t, - uint32_t, - int64_t, - uint64_t, - bool, - std::string, - std::vector> AllTheTypes; + typedef Procedure<1, void(bool)> Proc1; + typedef Procedure<2, void(int8_t, uint8_t, int16_t, uint16_t, + int32_t, uint32_t, int64_t, uint64_t, + bool, std::string, std::vector)> AllTheTypes; }; -- cgit v1.1