Searched refs:ShadowedDecl (Results 1 – 1 of 1) sorted by relevance
6020 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow() local6021 if (!isa<VarDecl>(ShadowedDecl) && !isa<FieldDecl>(ShadowedDecl)) in CheckShadow()6025 if (isa<FieldDecl>(ShadowedDecl)) in CheckShadow()6030 if (VarDecl *shadowedVar = dyn_cast<VarDecl>(ShadowedDecl)) in CheckShadow()6036 ShadowedDecl = I; in CheckShadow()6041 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow()6060 if (isa<FieldDecl>(ShadowedDecl)) in CheckShadow()6075 Diag(ShadowedDecl->getLocation(), diag::note_previous_declaration); in CheckShadow()