Searched refs:OldDC (Results 1 – 2 of 2) sorted by relevance
398 auto *OldDC = OldProperty->getDeclContext(); in checkAtomicPropertyMismatch() local399 if (auto Category = dyn_cast<ObjCCategoryDecl>(OldDC)) in checkAtomicPropertyMismatch()402 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()
6516 const DeclContext *OldDC) { in computeShadowedDeclKind() argument6517 if (isa<RecordDecl>(OldDC)) in computeShadowedDeclKind()6519 return OldDC->isFileContext() ? SDK_Global : SDK_Local; in computeShadowedDeclKind()6578 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow() local6583 if (!OldDC->isRecord()) in CheckShadow()6600 ShadowedDeclKind Kind = computeShadowedDeclKind(ShadowedDecl, OldDC); in CheckShadow()6601 Diag(R.getNameLoc(), diag::warn_decl_shadow) << Name << Kind << OldDC; in CheckShadow()6631 const DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadowingDeclModification() local6632 Diag(Loc, diag::warn_modifying_shadowing_decl) << D << OldDC; in CheckShadowingDeclModification()12208 static bool isAcceptableTagRedeclContext(Sema &S, DeclContext *OldDC, in isAcceptableTagRedeclContext() argument[all …]