Lines Matching defs:ParentDC
6238 DeclContext *ParentDC = D->getDeclContext();
6242 ParentDC, TemplateArgs.getNumRetainedOuterLevels());
6244 // parameters (p below) can have their ParentDC set to the translation-unit
6245 // - thus we can not consistently check if the ParentDC of such a parameter
6248 // find an instantiated decl for (T y) when the ParentDC for y is
6254 // it gets here, always has a FunctionOrMethod as its ParentDC??
6264 (ParentDependsOnArgs && (ParentDC->isFunctionOrMethod() ||
6265 isa<OMPDeclareReductionDecl>(ParentDC) ||
6266 isa<OMPDeclareMapperDecl>(ParentDC))) ||
6453 ParentDC = FindInstantiatedContext(Loc, ParentDC, TemplateArgs);
6454 if (!ParentDC)
6457 if (ParentDC != D->getDeclContext()) {
6465 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) {
6476 ParentDC = Tag->getDecl();
6490 DeclContext::lookup_result Found = ParentDC->lookup(Name);
6503 ParentDC->decls_begin(),
6504 ParentDC->decls_end());
6523 << Context.getTypeDeclType(cast<CXXRecordDecl>(ParentDC));