]> granicus.if.org Git - llvm/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314490 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

index bec24e5c32203f625cf2dfc92b75f55a443c9e65..ed7b327124d749ac76e27e5b8865ee07422bfdae 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) {});
 }