Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp144 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update() argument
145 assert(OldDC != ND->getDeclContext() && in update()
148 assert(!contains(OldDC, ND) && in update()
153 remove(OldDC, ND); in update()
157 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced() argument
158 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
H A DASTImporter.cpp348 DeclContext *OldDC) { in updateLookupTableForTemplateParameters() argument
354 LT->update(TP, OldDC); in updateLookupTableForTemplateParameters()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterLookupTable.h76 void update(NamedDecl *ND, DeclContext *OldDC);
80 void updateForced(NamedDecl *ND, DeclContext *OldDC);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp8104 const DeclContext *OldDC) { in computeShadowedDeclKind() argument
8111 else if (isa<RecordDecl>(OldDC)) in computeShadowedDeclKind()
8114 return OldDC->isFileContext() ? SDK_Global : SDK_Local; in computeShadowedDeclKind()
8207 DeclContext *OldDC = ShadowedDecl->getDeclContext()->getRedeclContext(); in CheckShadow() local
8213 if (RD->isLambda() && OldDC->Encloses(NewDC->getLexicalParent())) { in CheckShadow()
8248 ParentDC && !ParentDC->Equals(OldDC); in CheckShadow()
8268 if (!OldDC->isRecord()) in CheckShadow()
8283 ShadowedDeclKind Kind = computeShadowedDeclKind(ShadowedDecl, OldDC); in CheckShadow()
8284 Diag(R.getNameLoc(), WarningDiag) << Name << Kind << OldDC; in CheckShadow()
8295 const DeclContext *OldDC = ShadowedDecl->getDeclContext(); in DiagnoseShadowingLambdaDecls() local
[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()