Searched refs:OrigDC (Results 1 – 2 of 2) sorted by relevance
12015 DeclContext *OrigDC = Orig->getDeclContext(); in CheckUsingShadowDecl() local12018 if (isa<EnumDecl>(OrigDC)) in CheckUsingShadowDecl()12019 OrigDC = OrigDC->getParent(); in CheckUsingShadowDecl()12020 CXXRecordDecl *OrigRec = cast<CXXRecordDecl>(OrigDC); in CheckUsingShadowDecl()12025 if (OrigDC == CurContext) { in CheckUsingShadowDecl()
1697 DeclContext *OrigDC = D->getDeclContext(); in ImportDeclParts() local1699 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()