summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-09-28 19:43:53 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-09-28 19:43:53 +0000
commitfa769be5e7d5cd7f7f31aa04be022f439d8c053b (patch)
tree038a2940e98613be0c2b60a123eadf7271d76c1f /llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
parent052ec5f92ad2d1ce0bda3cc203d82932fc15ff14 (diff)
downloadbcm5719-llvm-fa769be5e7d5cd7f7f31aa04be022f439d8c053b.tar.gz
bcm5719-llvm-fa769be5e7d5cd7f7f31aa04be022f439d8c053b.zip
Fix -Werror build.
/code/llvm-project/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp:260:38: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] [this](decltype(ObjLayer)::ObjHandleT, llvm-svn: 314454
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
index 132681ecc19..bec24e5c322 100644
--- a/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
@@ -256,11 +256,11 @@ TEST_F(RTDyldObjectLinkingLayerExecutionTest, NoPrematureAllocation) {
}
TEST_F(RTDyldObjectLinkingLayerExecutionTest, TestNotifyLoadedSignature) {
- RTDyldObjectLinkingLayer ObjLayer([]() { return nullptr; },
- [this](decltype(ObjLayer)::ObjHandleT,
- const decltype(ObjLayer)::ObjectPtr &obj,
- const RuntimeDyld::LoadedObjectInfo &info) {
- });
+ RTDyldObjectLinkingLayer ObjLayer(
+ []() { return nullptr; },
+ [](decltype(ObjLayer)::ObjHandleT,
+ const decltype(ObjLayer)::ObjectPtr &obj,
+ const RuntimeDyld::LoadedObjectInfo &info) {});
}
} // end anonymous namespace
OpenPOWER on IntegriCloud