Searched refs:PrevTagDecl (Results 1 – 1 of 1) sorted by relevance
8648 if (TagDecl *PrevTagDecl = dyn_cast<TagDecl>(PrevDecl)) { in ActOnTag() local8656 if (!isAcceptableTagRedeclaration(PrevTagDecl, Kind, in ActOnTag()8660 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()8666 PrevTagDecl->getKindName()); in ActOnTag()8669 Diag(PrevTagDecl->getLocation(), diag::note_previous_use); in ActOnTag()8672 Kind = PrevTagDecl->getTagKind(); in ActOnTag()8681 if (Kind == TTK_Enum && PrevTagDecl->getTagKind() == TTK_Enum) { in ActOnTag()8682 const EnumDecl *PrevEnum = cast<EnumDecl>(PrevTagDecl); in ActOnTag()8691 return PrevTagDecl; in ActOnTag()8705 return TUK == TUK_Declaration ? PrevTagDecl : 0; in ActOnTag()[all …]