Home | History | Annotate | Download | only in Sema

Lines Matching defs:FD

6104   if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
6105 FD->setInlineSpecified(false);
6107 for (FunctionDecl::param_iterator I = FD->param_begin(),
6108 E = FD->param_end();
6329 Sema::CheckDependentFunctionTemplateSpecialization(FunctionDecl *FD,
6334 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6348 FD->setDependentTemplateSpecialization(Context, Previous.asUnresolvedSet(),
6358 /// the function declaration \p FD will become a function template
6361 /// \param FD the function declaration, which will be updated to become a
6372 FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs,
6377 TemplateSpecCandidateSet FailedCandidates(FD->getLocation());
6379 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6385 // FD.
6395 QualType FT = FD->getType();
6396 if (FD->isConstexpr()) {
6437 FD->getLocation(),
6438 PDiag(diag::err_function_template_spec_no_match) << FD->getDeclName(),
6440 << FD->getDeclName() << (ExplicitTemplateArgs != 0),
6457 Specialization->setLocation(FD->getLocation());
6461 Specialization->setConstexpr(FD->isConstexpr());
6469 bool isFriend = (FD->getFriendObjectKind() != Decl::FOK_None);
6475 Specialization, FD->getLocation(),
6487 CheckSpecializationInstantiationRedecl(FD->getLocation(),
6508 FD->setFunctionTemplateSpecialization(Specialization->getPrimaryTemplate(),
6525 /// the function declaration \p FD will become a member function
7905 void Sema::MarkAsLateParsedTemplate(FunctionDecl *FD, bool Flag) {
7906 if (!FD)
7908 FD->setLateTemplateParsed(Flag);
7916 const FunctionDecl *FD = RD->isLocalClass();
7917 return (FD && FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate);