Searched refs:ShadowedDecl (Results 1 – 1 of 1) sorted by relevance
4460 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow() local4461 if (!isa<VarDecl>(ShadowedDecl) && !isa<FieldDecl>(ShadowedDecl)) in CheckShadow()4465 if (isa<FieldDecl>(ShadowedDecl)) in CheckShadow()4470 if (VarDecl *shadowedVar = dyn_cast<VarDecl>(ShadowedDecl)) in CheckShadow()4478 ShadowedDecl = *I; in CheckShadow()4483 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow()4502 if (isa<FieldDecl>(ShadowedDecl)) in CheckShadow()4515 Diag(ShadowedDecl->getLocation(), diag::note_previous_declaration); in CheckShadow()