Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp8368 DeclContext *NewDC = D->getDeclContext(); in CheckShadow() local
8371 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewDC)) { in CheckShadow()
8381 if (isa<CXXConstructorDecl>(NewDC)) in CheckShadow()
8405 if (isa<VarDecl>(D) && NewDC && isa<CXXMethodDecl>(NewDC)) { in CheckShadow()
8406 if (const auto *RD = dyn_cast<CXXRecordDecl>(NewDC->getParent())) { in CheckShadow()
8407 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
8441 for (DeclContext *ParentDC = NewDC; in CheckShadow()
8460 if (NewDC) { in CheckShadow()
8462 if (NewDC->isRecord() && !OldDC->isRecord()) in CheckShadow()
8467 DeclContext *ReDC = NewDC->getRedeclContext(); in CheckShadow()
[all …]