Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporterLookupTable.cpp130 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update() argument
131 assert(OldDC != ND->getDeclContext() && in update()
134 assert(!contains(OldDC, ND) && in update()
139 remove(OldDC, ND); in update()
143 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced() argument
144 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
H A DASTImporter.cpp350 DeclContext *OldDC) { in updateLookupTableForTemplateParameters() argument
356 LT->update(TP, OldDC); in updateLookupTableForTemplateParameters()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTImporterLookupTable.h76 void update(NamedDecl *ND, DeclContext *OldDC);
80 void updateForced(NamedDecl *ND, DeclContext *OldDC);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp7976 else if (isa<RecordDecl>(OldDC)) in computeShadowedDeclKind()
7979 return OldDC->isFileContext() ? SDK_Global : SDK_Local; in computeShadowedDeclKind()
8116 ParentDC && !ParentDC->Equals(OldDC); in CheckShadow()
8132 if (!OldDC->isRecord()) in CheckShadow()
8148 Diag(R.getNameLoc(), WarningDiag) << Name << Kind << OldDC; in CheckShadow()
8162 const DeclContext *OldDC = ShadowedDecl->getDeclContext(); in DiagnoseShadowingLambdaDecls() local
8167 << computeShadowedDeclKind(ShadowedDecl, OldDC) << OldDC; in DiagnoseShadowingLambdaDecls()
8202 const DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadowingDeclModification() local
16127 OldDC = OldDC->getRedeclContext(); in isAcceptableTagRedeclContext()
16130 if (OldDC->Equals(NewDC)) in isAcceptableTagRedeclContext()
[all …]
H A DSemaObjCProperty.cpp392 auto *OldDC = OldProperty->getDeclContext(); in checkAtomicPropertyMismatch() local
393 if (auto Category = dyn_cast<ObjCCategoryDecl>(OldDC)) in checkAtomicPropertyMismatch()
396 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()