Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaObjCProperty.cpp398 auto *OldDC = OldProperty->getDeclContext(); in checkAtomicPropertyMismatch() local
399 if (auto Category = dyn_cast<ObjCCategoryDecl>(OldDC)) in checkAtomicPropertyMismatch()
402 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()
DSemaDecl.cpp6516 const DeclContext *OldDC) { in computeShadowedDeclKind() argument
6517 if (isa<RecordDecl>(OldDC)) in computeShadowedDeclKind()
6519 return OldDC->isFileContext() ? SDK_Global : SDK_Local; in computeShadowedDeclKind()
6578 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow() local
6583 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() local
6632 Diag(Loc, diag::warn_modifying_shadowing_decl) << D << OldDC; in CheckShadowingDeclModification()
12208 static bool isAcceptableTagRedeclContext(Sema &S, DeclContext *OldDC, in isAcceptableTagRedeclContext() argument
[all …]