Home | History | Annotate | Download | only in Sema

Lines Matching refs:FD

6591   if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
6592 FD->setInlineSpecified(false);
6817 Sema::CheckDependentFunctionTemplateSpecialization(FunctionDecl *FD,
6822 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6836 FD->setDependentTemplateSpecialization(Context, Previous.asUnresolvedSet(),
6846 /// the function declaration \p FD will become a function template
6849 /// \param FD the function declaration, which will be updated to become a
6860 FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs,
6865 TemplateSpecCandidateSet FailedCandidates(FD->getLocation(),
6871 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6877 // FD.
6887 QualType FT = FD->getType();
6888 if (FD->isConstexpr()) {
6936 FD->getLocation(),
6937 PDiag(diag::err_function_template_spec_no_match) << FD->getDeclName(),
6939 << FD->getDeclName() << (ExplicitTemplateArgs != nullptr),
6951 Diag(FD->getLocation(), diag::err_concept_specialized)
6965 Specialization->setLocation(FD->getLocation());
6969 Specialization->setConstexpr(FD->isConstexpr());
6977 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None);
6983 Specialization, FD->getLocation(),
6995 CheckSpecializationInstantiationRedecl(FD->getLocation(),
7010 // 'FD' could have been specializing, has a 'deleted' definition. If so,
7013 // flag to not-deleted, so that we can inherit that information from 'FD'.
7031 FD->setFunctionTemplateSpecialization(
7048 /// the function declaration \p FD will become a member function
8575 void Sema::MarkAsLateParsedTemplate(FunctionDecl *FD, Decl *FnD,
8577 if (!FD)
8585 LateParsedTemplateMap.insert(std::make_pair(FD, LPT));
8587 FD->setLateTemplateParsed(true);
8590 void Sema::UnmarkAsLateParsedTemplate(FunctionDecl *FD) {
8591 if (!FD)
8593 FD->setLateTemplateParsed(false);
8601 const FunctionDecl *FD = RD->isLocalClass();
8602 return (FD && FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate);
8638 if (auto *FD = dyn_cast<FunctionDecl>(ND))
8639 return checkImpl(FD);
8691 void checkInstantiated(FunctionDecl *FD) {
8692 if (auto *TD = FD->getPrimaryTemplate())
8728 void checkInstantiated(EnumDecl *FD) {}