Searched refs:SpecializedContext (Results 1 – 2 of 2) sorted by relevance
5962 DeclContext *SpecializedContext in CheckTemplateSpecializationScope() local5973 if (!DC->Encloses(SpecializedContext) && in CheckTemplateSpecializationScope()5978 if (isa<TranslationUnitDecl>(SpecializedContext)) in CheckTemplateSpecializationScope()5981 else if (isa<NamespaceDecl>(SpecializedContext)) { in CheckTemplateSpecializationScope()5986 << cast<NamedDecl>(SpecializedContext); in CheckTemplateSpecializationScope()6009 if (!DC->InEnclosingNamespaceSetOf(SpecializedContext)) { in CheckTemplateSpecializationScope()6010 bool IsCPlusPlus11Extension = DC->Encloses(SpecializedContext); in CheckTemplateSpecializationScope()6011 if (isa<TranslationUnitDecl>(SpecializedContext)) { in CheckTemplateSpecializationScope()6016 } else if (isa<NamespaceDecl>(SpecializedContext)) { in CheckTemplateSpecializationScope()6025 << EntityKind << Specialized << cast<NamedDecl>(SpecializedContext); in CheckTemplateSpecializationScope()
8063 DeclContext *SpecializedContext = in CheckTemplateSpecializationScope() local8069 if (!(DC->isFileContext() ? DC->Encloses(SpecializedContext) in CheckTemplateSpecializationScope()8070 : DC->Equals(SpecializedContext))) { in CheckTemplateSpecializationScope()8071 if (isa<TranslationUnitDecl>(SpecializedContext)) in CheckTemplateSpecializationScope()8075 auto *ND = cast<NamedDecl>(SpecializedContext); in CheckTemplateSpecializationScope()