From: Chandler Carruth Date: Wed, 11 Jan 2017 07:53:12 +0000 (+0000) Subject: [PM] Another attempt to satisfy MSVC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e0a3f982ce9228311a8644b4fe4458c2db89f72;p=llvm [PM] Another attempt to satisfy MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291655 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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() &&