Lines Matching defs:Pattern

46 /// \param Pattern If non-NULL, indicates the pattern from which we will be
54 const FunctionDecl *Pattern) {
130 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
1656 CXXRecordDecl *Pattern,
1661 Base = Pattern->bases_begin(), BaseEnd = Pattern->bases_end();
1771 TagDecl *Pattern,
1793 S.Diag(Pattern->getLocation(), diag::note_member_of_template_here);
1798 S.Diag(Pattern->getLocation(), diag::note_template_decl_here);
1819 /// \param Pattern is the pattern from which the instantiation
1834 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern,
1839 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition());
1842 Pattern, PatternDef, TSK, Complain))
1844 Pattern = PatternDef;
1874 InstantiateAttrs(TemplateArgs, Pattern, Instantiation);
1879 Instantiation->setTagKind(Pattern->getTagKind());
1882 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs))
1893 for (RecordDecl::decl_iterator Member = Pattern->decls_begin(),
1894 MemberEnd = Pattern->decls_end();
1905 if ((*Member)->getDeclContext() != Pattern)
2001 Instantiation->setLocation(Pattern->getLocation());
2002 Instantiation->setLocStart(Pattern->getInnerLocStart());
2003 Instantiation->setRBraceLoc(Pattern->getRBraceLoc());
2008 PerformDependentDiagnostics(Pattern, TemplateArgs);
2048 /// \param Pattern The templated declaration from which the instantiation
2056 EnumDecl *Instantiation, EnumDecl *Pattern,
2059 EnumDecl *PatternDef = Pattern->getDefinition();
2062 Pattern, PatternDef, TSK,/*Complain*/true))
2064 Pattern = PatternDef;
2086 InstantiateAttrs(TemplateArgs, Pattern, Instantiation);
2089 Instantiator.InstantiateEnumDefinition(Instantiation, Pattern);
2146 CXXRecordDecl *Pattern = 0;
2250 Pattern = OrigPartialSpec;
2265 Pattern = OrigTemplate->getTemplatedDecl();
2269 Pattern,
2290 if (FunctionDecl *Pattern
2317 if (!Pattern->isDefined())
2382 CXXRecordDecl *Pattern = Record->getInstantiatedFromMemberClass();
2383 assert(Pattern && "Missing instantiated-from-template information");
2386 if (!Pattern->getDefinition()) {
2401 InstantiateClass(PointOfInstantiation, Record, Pattern,
2413 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition());
2414 if (Pattern)
2415 InstantiateClassMembers(PointOfInstantiation, Pattern, TemplateArgs,
2435 EnumDecl *Pattern = Enum->getInstantiatedFromMemberEnum();
2436 assert(Pattern && "Missing instantiated-from-template information");
2439 if (!Pattern->getDefinition())
2442 InstantiateEnum(PointOfInstantiation, Enum, Pattern, TemplateArgs, TSK);