Searched refs:OrigDC (Results 1 – 2 of 2) sorted by relevance
12368 DeclContext *OrigDC = Orig->getDeclContext(); in CheckUsingShadowDecl() local12371 if (isa<EnumDecl>(OrigDC)) in CheckUsingShadowDecl()12372 OrigDC = OrigDC->getParent(); in CheckUsingShadowDecl()12373 CXXRecordDecl *OrigRec = cast<CXXRecordDecl>(OrigDC); in CheckUsingShadowDecl()12378 if (OrigDC == CurContext) { in CheckUsingShadowDecl()
1884 DeclContext *OrigDC = D->getDeclContext(); in ImportDeclParts() local1886 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()