Searched refs:NewDC (Results 1 – 1 of 1) sorted by relevance
5891 DeclContext *NewDC = D->getDeclContext(); in CheckShadow() local5903 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewDC)) in CheckShadow()5921 if (NewDC && NewDC->isRecord()) { in CheckShadow()6426 DeclContext *NewDC = NewFD->getDeclContext(); in DiagnoseInvalidRedeclaration() local6442 SemaRef.LookupQualifiedName(Prev, NewDC); in DiagnoseInvalidRedeclaration()6465 Sema::CTK_ErrorRecovery, IsLocalFriend ? nullptr : NewDC))) { in DiagnoseInvalidRedeclaration()6515 << Name << NewDC << IsDefinition); in DiagnoseInvalidRedeclaration()6528 << Name << NewDC << IsDefinition << NewFD->getLocation(); in DiagnoseInvalidRedeclaration()