aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2020-02-10 05:18:09 -0800
committerBill Wendling <isanbard@gmail.com>2020-02-10 06:39:44 -0800
commit1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2 (patch)
tree0c9ba27cfe58de2aedf223cced3864d1d2e92fef /llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
parenta67db83681f3dfe2950ad8d2b2addb5d6f175ad3 (diff)
downloadllvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.zip
llvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.tar.gz
llvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.tar.bz2
Remove redundant "std::move"s in return statements
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
index 31a4247..a9f2d3f 100644
--- a/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
@@ -56,7 +56,7 @@ public:
if (auto Sym = KV.second(Name, ExportedSymbolsOnly))
return Sym;
else if (auto Err = Sym.takeError())
- return std::move(Err);
+ return Err;
}
return JITSymbol(nullptr);
}