Searched refs:OldDC (Results 1 – 1 of 1) sorted by relevance
6041 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow() local6046 if (!OldDC->isRecord()) in CheckShadow()6059 if (isa<RecordDecl>(OldDC)) { in CheckShadow()6064 } else if (OldDC->isFileContext()) in CheckShadow()6074 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()