Lines Matching refs:Tag
5770 bool VisitTagDecl(const TagDecl *Tag);
5963 bool UnnamedLocalNoLinkageFinder::VisitTagDecl(const TagDecl *Tag) {
5964 if (Tag->getDeclContext()->isFunctionOrMethod()) {
5969 << S.Context.getTypeDeclType(Tag) << SR;
5973 if (!Tag->hasNameForLinkage()) {
5978 S.Diag(Tag->getLocation(), diag::note_template_unnamed_type_here);
9596 TagDecl *Tag = cast<TagDecl>(TagD);
9597 assert(!Tag->isEnum() && "shouldn't see enumerations here");
9599 if (Tag->isInvalidDecl())
9602 CXXRecordDecl *Record = cast<CXXRecordDecl>(Tag);