[PATCH] D98518: [RGT] RPCUtilsTest, replace un-executed EXPECT with unreachable
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 17 07:38:27 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG05eeb6077a13: [RGT] RPCUtilsTest, replace un-executed EXPECT with unreachable (authored by probinson).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98518/new/
https://reviews.llvm.org/D98518
Files:
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Index: llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
===================================================================
--- llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
+++ llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
@@ -871,8 +871,7 @@
Server.addHandler<DummyRPCAPI::VoidBool>(
[](bool B) {
- EXPECT_EQ(B, true)
- << "Server void(bool) received unexpected result";
+ llvm_unreachable("Server void(bool) received unexpected result");
});
Server.removeHandler<DummyRPCAPI::VoidBool>();
@@ -884,8 +883,7 @@
Server.addHandler<DummyRPCAPI::VoidBool>(
[](bool B) {
- EXPECT_EQ(B, true)
- << "Server void(bool) received unexpected result";
+ llvm_unreachable("Server void(bool) received unexpected result");
});
Server.clearHandlers();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98518.331264.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210317/169ad10e/attachment.bin>
More information about the llvm-commits
mailing list