Lines Matching refs:Pattern

47 /// \param Pattern If non-NULL, indicates the pattern from which we will be
55 const FunctionDecl *Pattern) {
151 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) {
1807 CXXRecordDecl *Pattern,
1812 Base = Pattern->bases_begin(), BaseEnd = Pattern->bases_end();
1926 TagDecl *Pattern,
1948 S.Diag(Pattern->getLocation(), diag::note_member_of_template_here);
1953 S.Diag(Pattern->getLocation(), diag::note_template_decl_here);
1974 /// \param Pattern is the pattern from which the instantiation
1989 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern,
1994 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition());
1997 Pattern, PatternDef, TSK, Complain))
1999 Pattern = PatternDef;
2029 InstantiateAttrs(TemplateArgs, Pattern, Instantiation);
2034 Instantiation->setTagKind(Pattern->getTagKind());
2037 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs))
2048 for (RecordDecl::decl_iterator Member = Pattern->decls_begin(),
2049 MemberEnd = Pattern->decls_end();
2060 if ((*Member)->getDeclContext() != Pattern)
2165 Instantiation->setLocation(Pattern->getLocation());
2166 Instantiation->setLocStart(Pattern->getInnerLocStart());
2167 Instantiation->setRBraceLoc(Pattern->getRBraceLoc());
2172 PerformDependentDiagnostics(Pattern, TemplateArgs);
2224 /// \param Pattern The templated declaration from which the instantiation
2232 EnumDecl *Instantiation, EnumDecl *Pattern,
2235 EnumDecl *PatternDef = Pattern->getDefinition();
2238 Pattern, PatternDef, TSK,/*Complain*/true))
2240 Pattern = PatternDef;
2262 InstantiateAttrs(TemplateArgs, Pattern, Instantiation);
2265 Instantiator.InstantiateEnumDefinition(Instantiation, Pattern);
2320 CXXRecordDecl *Pattern = 0;
2427 Pattern = OrigPartialSpec;
2442 Pattern = OrigTemplate->getTemplatedDecl();
2446 Pattern,
2472 if (FunctionDecl *Pattern
2499 if (!Pattern->isDefined())
2570 CXXRecordDecl *Pattern = Record->getInstantiatedFromMemberClass();
2571 assert(Pattern && "Missing instantiated-from-template information");
2574 if (!Pattern->getDefinition()) {
2589 InstantiateClass(PointOfInstantiation, Record, Pattern,
2601 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition());
2602 if (Pattern)
2603 InstantiateClassMembers(PointOfInstantiation, Pattern, TemplateArgs,
2623 EnumDecl *Pattern = Enum->getInstantiatedFromMemberEnum();
2624 assert(Pattern && "Missing instantiated-from-template information");
2627 if (!Pattern->getDefinition())
2630 InstantiateEnum(PointOfInstantiation, Enum, Pattern, TemplateArgs, TSK);