Lines Matching refs:FunctionDecl
62 const FunctionDecl *Pattern) {
138 else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(Ctx)) {
273 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity,
546 } else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
646 FunctionDecl *FD = cast<FunctionDecl>(Param->getDeclContext());
705 << cast<FunctionDecl>(Active->Entity);
711 << cast<FunctionDecl>(Active->Entity)
741 auto *FD = dyn_cast<FunctionDecl>(Active->Entity);
797 assert(isa<FunctionDecl>(Active->Entity));
803 if (!isa<FunctionDecl>(Active->Entity))
1743 assert(!cast<FunctionDecl>(E->getParam()->getDeclContext())->
1747 cast<FunctionDecl>(E->getParam()->getDeclContext()),
2165 /// type of a FunctionDecl. Its purpose is solely to force the
2194 // once we've built the FunctionDecl.
2222 void Sema::SubstExceptionSpec(FunctionDecl *New, const FunctionProtoType *Proto,
2428 FunctionDecl *OwningFunc = cast<FunctionDecl>(OldParm->getDeclContext());
3234 if (auto *Function = dyn_cast<FunctionDecl>(D)) {
3235 if (FunctionDecl *Pattern =
3558 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(PV->getDeclContext())) {