reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4190   if (Function->isInvalidDecl() || Function->isDefined() ||
 4190   if (Function->isInvalidDecl() || Function->isDefined() ||
 4191       isa<CXXDeductionGuideDecl>(Function))
 4197       Function->getTemplateSpecializationKindForInstantiation();
 4202   const FunctionDecl *PatternDecl = Function->getTemplateInstantiationPattern();
 4216   if (DiagnoseUninstantiableTemplate(PointOfInstantiation, Function,
 4217                                 Function->getInstantiatedFromMemberFunction(),
 4221       Function->setInvalidDecl();
 4226       Function->setInstantiationIsPending(true);
 4228         std::make_pair(Function, PointOfInstantiation));
 4233           << Function;
 4237             << Function;
 4247     Function->setInstantiationIsPending(true);
 4249         std::make_pair(Function, PointOfInstantiation));
 4256     Function->getNameForDiagnostic(OS, getPrintingPolicy(),
 4303     for (auto *D = Function->getMostRecentDecl(); /**/;
 4306       if (D == Function)
 4311   InstantiatingTemplate Inst(*this, PointOfInstantiation, Function);
 4314   PrettyDeclStackTraceEntry CrashInfo(Context, Function, SourceLocation(),
 4319   Function->setVisibleDespiteOwningModule();
 4322   Function->setInnerLocStart(PatternDecl->getInnerLocStart());
 4332   if (CXXRecordDecl *Rec = dyn_cast<CXXRecordDecl>(Function->getDeclContext()))
 4338     SetDeclDefaulted(Function, PatternDecl->getLocation());
 4341       getTemplateInstantiationArgs(Function, nullptr, false, PatternDecl);
 4347     SubstQualifier(*this, PatternDecl, Function, TemplateArgs);
 4349     ActOnStartOfFunctionDef(nullptr, Function);
 4353     Sema::ContextRAII savedContext(*this, Function);
 4355     if (addInstantiatedParametersToScope(*this, Function, PatternDecl, Scope,
 4361       ActOnSkippedFunctionBody(Function);
 4364       if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Function)) {
 4381         Function->setInvalidDecl();
 4385     ActOnFinishFunctionBody(Function, Body.get(), /*IsInstantiation=*/true);
 4390       Listener->FunctionDefinitionInstantiated(Function);
 4395   DeclGroupRef DG(Function);