Searched refs:PrevTagDecl (Results 1 – 1 of 1) sorted by relevance
12645 if (TagDecl *PrevTagDecl = dyn_cast<TagDecl>(PrevDecl)) { in ActOnTag() local12654 if (!isAcceptableTagRedeclaration(PrevTagDecl, Kind, in ActOnTag()12658 = (PrevTagDecl->getTagKind() != TTK_Enum && in ActOnTag()12664 PrevTagDecl->getKindName()); in ActOnTag()12667 Diag(PrevTagDecl->getLocation(), diag::note_previous_use); in ActOnTag()12670 Kind = PrevTagDecl->getTagKind(); in ActOnTag()12679 if (Kind == TTK_Enum && PrevTagDecl->getTagKind() == TTK_Enum) { in ActOnTag()12680 const EnumDecl *PrevEnum = cast<EnumDecl>(PrevTagDecl); in ActOnTag()12689 return PrevTagDecl; in ActOnTag()12704 return TUK == TUK_Declaration ? PrevTagDecl : nullptr; in ActOnTag()[all …]