diff options
author | Lang Hames <lhames@gmail.com> | 2016-03-21 16:56:25 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-03-21 16:56:25 +0000 |
commit | a258b01b12d429e7009c6f0fcd5ae3a8038be0c5 (patch) | |
tree | 2a0ce1f36836c58afa1a2d8beec6f7541780f66b /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | |
parent | c25a71106cbd7369b0d77ed7e6258009c275a213 (diff) | |
download | bcm5719-llvm-a258b01b12d429e7009c6f0fcd5ae3a8038be0c5.tar.gz bcm5719-llvm-a258b01b12d429e7009c6f0fcd5ae3a8038be0c5.zip |
[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
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp index 8215144a514..3b01c3828b6 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<QueueChannel> { 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<int>> 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<int>)> AllTheTypes; }; |