reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4203 assert(PatternDecl && "instantiating a non-template"); 4205 const FunctionDecl *PatternDef = PatternDecl->getDefinition(); 4209 PatternDecl = PatternDef; 4218 PatternDecl, PatternDef, TSK, 4231 !getSourceManager().isInSystemHeader(PatternDecl->getBeginLoc())) { 4234 Diag(PatternDecl->getLocation(), diag::note_forward_template_decl); 4245 if (PatternDecl->isLateTemplateParsed() && 4272 if (!Pattern && PatternDecl->isLateTemplateParsed() && 4275 if (PatternDecl->isFromASTFile()) 4278 auto LPTIter = LateParsedTemplateMap.find(PatternDecl); 4282 Pattern = PatternDecl->getBody(PatternDecl); 4282 Pattern = PatternDecl->getBody(PatternDecl); 4286 assert((Pattern || PatternDecl->isDefaulted() || 4287 PatternDecl->hasSkippedBody()) && 4296 !PatternDecl->isInlined() && 4297 !PatternDecl->getReturnType()->getContainedAutoType()) 4300 if (PatternDecl->isInlined()) { 4322 Function->setInnerLocStart(PatternDecl->getInnerLocStart()); 4337 if (PatternDecl->isDefaulted()) 4338 SetDeclDefaulted(Function, PatternDecl->getLocation()); 4341 getTemplateInstantiationArgs(Function, nullptr, false, PatternDecl); 4347 SubstQualifier(*this, PatternDecl, Function, TemplateArgs); 4355 if (addInstantiatedParametersToScope(*this, Function, PatternDecl, Scope, 4360 if (PatternDecl->hasSkippedBody()) { 4366 InstantiateMemInitializers(Ctor, cast<CXXConstructorDecl>(PatternDecl), 4387 PerformDependentDiagnostics(PatternDecl, TemplateArgs);