Lines Matching defs:ParentDC
6081 DeclContext *ParentDC = D->getDeclContext();
6085 ParentDC, TemplateArgs.getNumRetainedOuterLevels());
6087 // parameters (p below) can have their ParentDC set to the translation-unit
6088 // - thus we can not consistently check if the ParentDC of such a parameter
6091 // find an instantiated decl for (T y) when the ParentDC for y is
6097 // it gets here, always has a FunctionOrMethod as its ParentDC??
6107 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() ||
6108 isa<OMPDeclareReductionDecl>(ParentDC) ||
6109 isa<OMPDeclareMapperDecl>(ParentDC))) ||
6284 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs);
6285 if (!ParentDC)
6288 if (ParentDC != D->getDeclContext()) {
6296 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) {
6307 ParentDC = Tag->getDecl();
6321 DeclContext::lookup_result Found = ParentDC->lookup(Name);
6334 ParentDC->decls_begin(),
6335 ParentDC->decls_end());
6354 << Context.getTypeDeclType(cast<CXXRecordDecl>(ParentDC));