Lines Matching defs:Spec
4146 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) {
4147 if (!Spec->isDependentContext()) {
4148 QualType T = Context.getTypeDeclType(Spec);
4201 EnumDecl *Spec = cast<EnumDecl>(FindInstantiatedDecl(Loc, Enum,
4203 assert(Spec->getTemplateSpecializationKind() ==
4207 << Context.getTypeDeclType(cast<TypeDecl>(Spec->getDeclContext()));
4208 Diag(Spec->getLocation(), diag::note_enum_specialized_here)
4209 << Context.getTypeDeclType(Spec);