[ORC] Replace decltype with a concrete type to make MSVC happy.
authorLang Hames <lhames@gmail.com>
Fri, 29 Sep 2017 05:03:43 +0000 (05:03 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 29 Sep 2017 05:03:43 +0000 (05:03 +0000)
This should fix some build failures on windows bots due to r314486.

llvm-svn: 314490

llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

index bec24e5..ed7b327 100644 (file)
@@ -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) {});
 }