Home
last modified time | relevance | path

Searched refs:OldDC (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp6041 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow() local
6046 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()