From 7e0a3f982ce9228311a8644b4fe4458c2db89f72 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 11 Jan 2017 07:53:12 +0000 Subject: [PATCH] [PM] Another attempt to satisfy MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291655 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Analysis/LoopPassManagerTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Analysis/LoopPassManagerTest.cpp b/unittests/Analysis/LoopPassManagerTest.cpp index 73e248dc84c..97c27987909 100644 --- a/unittests/Analysis/LoopPassManagerTest.cpp +++ b/unittests/Analysis/LoopPassManagerTest.cpp @@ -83,7 +83,7 @@ protected: run(_, _, testing::Matcher(_)...)) .WillByDefault(Return(this->getResult())); ON_CALL(static_cast(*this), invalidate(_, _, _)) - .WillByDefault(Invoke([](IRUnitT &, const PreservedAnalyses &PA, + .WillByDefault(Invoke([](IRUnitT &IR, const PreservedAnalyses &PA, typename AnalysisManagerT::Invalidator &Inv) { auto PAC = PA.template getChecker(); return !PAC.preserved() && -- 2.50.1