Searched refs:OrigDC (Results 1 – 2 of 2) sorted by relevance
12454 DeclContext *OrigDC = Orig->getDeclContext(); in CheckUsingShadowDecl() local12457 if (isa<EnumDecl>(OrigDC)) in CheckUsingShadowDecl()12458 OrigDC = OrigDC->getParent(); in CheckUsingShadowDecl()12459 CXXRecordDecl *OrigRec = cast<CXXRecordDecl>(OrigDC); in CheckUsingShadowDecl()12464 if (OrigDC == CurContext) { in CheckUsingShadowDecl()
1836 DeclContext *OrigDC = D->getDeclContext(); in ImportDeclParts() local1838 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()