• Home
  • Raw
  • Download

Lines Matching refs:ClassTemplate

2237   } else if (ClassTemplateDecl *ClassTemplate  in CheckTemplateIdType()  local
2243 = ClassTemplate->findSpecialization(Converted, InsertPos); in CheckTemplateIdType()
2249 ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
2250 ClassTemplate->getDeclContext(), in CheckTemplateIdType()
2251 ClassTemplate->getTemplatedDecl()->getLocStart(), in CheckTemplateIdType()
2252 ClassTemplate->getLocation(), in CheckTemplateIdType()
2253 ClassTemplate, in CheckTemplateIdType()
2255 ClassTemplate->AddSpecialization(Decl, InsertPos); in CheckTemplateIdType()
2256 if (ClassTemplate->isOutOfLine()) in CheckTemplateIdType()
2257 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext()); in CheckTemplateIdType()
6201 ClassTemplateDecl *ClassTemplate in ActOnClassTemplateSpecialization() local
6204 if (!ClassTemplate) { in ActOnClassTemplateSpecialization()
6282 if (!isAcceptableTagRedeclaration(ClassTemplate->getTemplatedDecl(), in ActOnClassTemplateSpecialization()
6284 ClassTemplate->getIdentifier())) { in ActOnClassTemplateSpecialization()
6286 << ClassTemplate in ActOnClassTemplateSpecialization()
6288 ClassTemplate->getTemplatedDecl()->getKindName()); in ActOnClassTemplateSpecialization()
6289 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnClassTemplateSpecialization()
6291 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnClassTemplateSpecialization()
6307 if (CheckTemplateArgumentList(ClassTemplate, TemplateNameLoc, in ActOnClassTemplateSpecialization()
6315 *this, TemplateNameLoc, ClassTemplate->getTemplateParameters(), in ActOnClassTemplateSpecialization()
6324 << ClassTemplate->getDeclName(); in ActOnClassTemplateSpecialization()
6334 PrevDecl = ClassTemplate->findPartialSpecialization(Converted, InsertPos); in ActOnClassTemplateSpecialization()
6336 PrevDecl = ClassTemplate->findSpecialization(Converted, InsertPos); in ActOnClassTemplateSpecialization()
6343 CheckTemplateSpecializationScope(*this, ClassTemplate, PrevDecl, in ActOnClassTemplateSpecialization()
6358 ClassTemplate->getInjectedClassNameSpecialization())) { in ActOnClassTemplateSpecialization()
6367 ClassTemplate->getIdentifier(), in ActOnClassTemplateSpecialization()
6382 ClassTemplate->getDeclContext(), in ActOnClassTemplateSpecialization()
6385 ClassTemplate, in ActOnClassTemplateSpecialization()
6397 ClassTemplate->AddPartialSpecialization(Partial, InsertPos); in ActOnClassTemplateSpecialization()
6438 ClassTemplate->getDeclContext(), in ActOnClassTemplateSpecialization()
6440 ClassTemplate, in ActOnClassTemplateSpecialization()
6450 ClassTemplate->AddSpecialization(Specialization, InsertPos); in ActOnClassTemplateSpecialization()
7341 ClassTemplateDecl *ClassTemplate = dyn_cast<ClassTemplateDecl>(TD); in ActOnExplicitInstantiation() local
7343 if (!ClassTemplate) { in ActOnExplicitInstantiation()
7356 if (!isAcceptableTagRedeclaration(ClassTemplate->getTemplatedDecl(), in ActOnExplicitInstantiation()
7358 ClassTemplate->getIdentifier())) { in ActOnExplicitInstantiation()
7360 << ClassTemplate in ActOnExplicitInstantiation()
7362 ClassTemplate->getTemplatedDecl()->getKindName()); in ActOnExplicitInstantiation()
7363 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnExplicitInstantiation()
7365 Kind = ClassTemplate->getTemplatedDecl()->getTagKind(); in ActOnExplicitInstantiation()
7387 if (auto *A = ClassTemplate->getTemplatedDecl()->getAttr<DLLExportAttr>()) { in ActOnExplicitInstantiation()
7401 ClassTemplate->getTemplatedDecl()->getAttr<DLLImportAttr>(); in ActOnExplicitInstantiation()
7424 if (CheckTemplateArgumentList(ClassTemplate, TemplateNameLoc, in ActOnExplicitInstantiation()
7432 = ClassTemplate->findSpecialization(Converted, InsertPos); in ActOnExplicitInstantiation()
7442 if (CheckExplicitInstantiationScope(*this, ClassTemplate, TemplateNameLoc, in ActOnExplicitInstantiation()
7483 ClassTemplate->getDeclContext(), in ActOnExplicitInstantiation()
7485 ClassTemplate, in ActOnExplicitInstantiation()
7492 ClassTemplate->AddSpecialization(Specialization, InsertPos); in ActOnExplicitInstantiation()