Lines Matching refs:ParentDC
6027 DeclContext *ParentDC = D->getDeclContext();
6031 ParentDC, TemplateArgs.getNumRetainedOuterLevels());
6033 // parameters (p below) can have their ParentDC set to the translation-unit
6034 // - thus we can not consistently check if the ParentDC of such a parameter
6037 // find an instantiated decl for (T y) when the ParentDC for y is
6043 // it gets here, always has a FunctionOrMethod as its ParentDC??
6053 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() ||
6054 isa<OMPDeclareReductionDecl>(ParentDC) ||
6055 isa<OMPDeclareMapperDecl>(ParentDC))) ||
6215 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs);
6216 if (!ParentDC)
6219 if (ParentDC != D->getDeclContext()) {
6227 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) {
6238 ParentDC = Tag->getDecl();
6252 DeclContext::lookup_result Found = ParentDC->lookup(Name);
6265 ParentDC->decls_begin(),
6266 ParentDC->decls_end());
6285 << Context.getTypeDeclType(cast<CXXRecordDecl>(ParentDC));