forked from OSchip/llvm-project
Teach the template parameter dependency checker used when matching
template parameter lists to scope specifiers for friend declarations about injected class name types. Fixes the g++.dg/template/memfriend5.C regression in the GCC testsuite. llvm-svn: 131272
This commit is contained in:
parent
662d91f1cd
commit
a6a7e3c1f2
|
@ -1430,6 +1430,10 @@ struct DependencyChecker : RecursiveASTVisitor<DependencyChecker> {
|
|||
}
|
||||
return super::VisitDeclRefExpr(E);
|
||||
}
|
||||
|
||||
bool TraverseInjectedClassNameType(const InjectedClassNameType *T) {
|
||||
return TraverseType(T->getInjectedSpecializationType());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue