Lines Matching refs:FunctionDecl
162 isa<FunctionDecl>((*I)->getUnderlyingDecl()))
489 return isa<FunctionDecl>(ND->getUnderlyingDecl());
789 assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) ||
826 if (isa<FunctionDecl>(Instantiation)) {
840 if (isa<FunctionDecl>(Instantiation)) {
6444 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
7111 if (FunctionDecl *Fn = ResolveAddressOfOverloadedFunction(Arg, ParamType,
7163 if (FunctionDecl *Fn = ResolveAddressOfOverloadedFunction(Arg,
7817 if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D))
8501 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
8724 Sema::CheckDependentFunctionTemplateSpecialization(FunctionDecl *FD,
8788 FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs,
8796 llvm::SmallDenseMap<FunctionDecl *, TemplateArgumentListInfo, 8>
8840 FunctionDecl *Specialization = nullptr;
8885 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl()))
8904 FunctionDecl *Specialization = cast<FunctionDecl>(*Result);
9033 } else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(Member)) {
9145 if (auto *MemberFunction = dyn_cast<FunctionDecl>(Member)) {
9146 FunctionDecl *InstantiationFunction = cast<FunctionDecl>(Instantiation);
9974 FunctionDecl *NonTemplateMatch = nullptr;
10000 FunctionDecl *Specialization = nullptr;
10032 FunctionDecl *Specialization = NonTemplateMatch;
10046 Specialization = cast<FunctionDecl>(*Result);
10082 FunctionDecl *PrevDecl = Specialization->getPreviousDecl();
10756 void Sema::MarkAsLateParsedTemplate(FunctionDecl *FD, Decl *FnD,
10771 void Sema::UnmarkAsLateParsedTemplate(FunctionDecl *FD) {
10782 const FunctionDecl *FD = RD->isLocalClass();
10783 return (FD && FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate);
10820 if (auto *FD = dyn_cast<FunctionDecl>(ND))
10873 void checkInstantiated(FunctionDecl *FD) {