[llvm] r291655 - [PM] Another attempt to satisfy MSVC.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 23:53:12 PST 2017


Author: chandlerc
Date: Wed Jan 11 01:53:12 2017
New Revision: 291655

URL: http://llvm.org/viewvc/llvm-project?rev=291655&view=rev
Log:
[PM] Another attempt to satisfy MSVC.

Modified:
    llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp

Modified: llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp?rev=291655&r1=291654&r2=291655&view=diff
==============================================================================
--- llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp (original)
+++ llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp Wed Jan 11 01:53:12 2017
@@ -83,7 +83,7 @@ protected:
             run(_, _, testing::Matcher<ExtraArgTs>(_)...))
         .WillByDefault(Return(this->getResult()));
     ON_CALL(static_cast<DerivedT &>(*this), invalidate(_, _, _))
-        .WillByDefault(Invoke([](IRUnitT &, const PreservedAnalyses &PA,
+        .WillByDefault(Invoke([](IRUnitT &IR, const PreservedAnalyses &PA,
                                  typename AnalysisManagerT::Invalidator &Inv) {
           auto PAC = PA.template getChecker<Analysis>();
           return !PAC.preserved() &&




More information about the llvm-commits mailing list