From f49f1e15a710d24e9638cfc7cc7f40c438a04e0f Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 29 Sep 2017 05:03:43 +0000 Subject: [PATCH] [ORC] Replace decltype with a concrete type to make MSVC happy. This should fix some build failures on windows bots due to r314486. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314490 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp b/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp index bec24e5c322..ed7b327124d 100644 --- a/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp +++ b/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp @@ -258,8 +258,8 @@ TEST_F(RTDyldObjectLinkingLayerExecutionTest, NoPrematureAllocation) { TEST_F(RTDyldObjectLinkingLayerExecutionTest, TestNotifyLoadedSignature) { RTDyldObjectLinkingLayer ObjLayer( []() { return nullptr; }, - [](decltype(ObjLayer)::ObjHandleT, - const decltype(ObjLayer)::ObjectPtr &obj, + [](RTDyldObjectLinkingLayer::ObjHandleT, + const RTDyldObjectLinkingLayer::ObjectPtr &obj, const RuntimeDyld::LoadedObjectInfo &info) {}); } -- 2.40.0