[llvm] r291654 - [PM] Try to appease MSVC by explicitly disambiguating a member name as
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 23:37:51 PST 2017
Author: chandlerc
Date: Wed Jan 11 01:37:50 2017
New Revision: 291654
URL: http://llvm.org/viewvc/llvm-project?rev=291654&view=rev
Log:
[PM] Try to appease MSVC by explicitly disambiguating a member name as
a template.
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=291654&r1=291653&r2=291654&view=diff
==============================================================================
--- llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp (original)
+++ llvm/trunk/unittests/Analysis/LoopPassManagerTest.cpp Wed Jan 11 01:37:50 2017
@@ -85,7 +85,7 @@ protected:
ON_CALL(static_cast<DerivedT &>(*this), invalidate(_, _, _))
.WillByDefault(Invoke([](IRUnitT &, const PreservedAnalyses &PA,
typename AnalysisManagerT::Invalidator &Inv) {
- auto PAC = PA.getChecker<Analysis>();
+ auto PAC = PA.template getChecker<Analysis>();
return !PAC.preserved() &&
!PAC.template preservedSet<AllAnalysesOn<IRUnitT>>();
}));
More information about the llvm-commits
mailing list