Abramo-Bagnara added a comment.
I have to doubly apologize:
1. my reference to refersInstantiatedDecl is completely wrong and I have been
mislead by an old patch on my machine.
2. the problem despite being very real is independent by your changes
If you are still interested this is the repro fo
Abramo-Bagnara reopened this revision.
Abramo-Bagnara added a comment.
These changes introduce a subtle bug in template instantiation of newly added
ElaboratedType around TypedefType:
bool refersInstantiatedDecl(QualType T) in SemaTemplateInstantiate.cpp does not
handle this ElaboratedType corr