Searched refs:NewDC (Results 1 – 1 of 1) sorted by relevance
5751 DeclContext *NewDC = D->getDeclContext(); in CheckShadow() local5763 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewDC)) in CheckShadow()5781 if (NewDC && NewDC->isRecord()) { in CheckShadow()6286 DeclContext *NewDC = NewFD->getDeclContext(); in DiagnoseInvalidRedeclaration() local6302 SemaRef.LookupQualifiedName(Prev, NewDC); in DiagnoseInvalidRedeclaration()6325 Sema::CTK_ErrorRecovery, IsLocalFriend ? nullptr : NewDC))) { in DiagnoseInvalidRedeclaration()6375 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()6388 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()