Searched refs:OrigDC (Results 1 – 2 of 2) sorted by relevance
11907 DeclContext *OrigDC = Orig->getDeclContext(); in CheckUsingShadowDecl() local11910 if (isa<EnumDecl>(OrigDC)) in CheckUsingShadowDecl()11911 OrigDC = OrigDC->getParent(); in CheckUsingShadowDecl()11912 CXXRecordDecl *OrigRec = cast<CXXRecordDecl>(OrigDC); in CheckUsingShadowDecl()11917 if (OrigDC == CurContext) { in CheckUsingShadowDecl()
1703 DeclContext *OrigDC = D->getDeclContext(); in ImportDeclParts() local1705 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()