Searched refs:OrigDC (Results 1 – 2 of 2) sorted by relevance
11707 DeclContext *OrigDC = Orig->getDeclContext(); in CheckUsingShadowDecl() local11710 if (isa<EnumDecl>(OrigDC)) in CheckUsingShadowDecl()11711 OrigDC = OrigDC->getParent(); in CheckUsingShadowDecl()11712 CXXRecordDecl *OrigRec = cast<CXXRecordDecl>(OrigDC); in CheckUsingShadowDecl()11717 if (OrigDC == CurContext) { in CheckUsingShadowDecl()
1641 DeclContext *OrigDC = D->getDeclContext(); in ImportDeclParts() local1643 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()