[PM] Try to appease MSVC by explicitly disambiguating a member name as

a template.

llvm-svn: 291654
This commit is contained in:
Chandler Carruth 2017-01-11 07:37:50 +00:00
parent f38d74e78b
commit d3435487bf
1 changed files with 1 additions and 1 deletions

View File

@ -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>>();
}));