Lines Matching refs:FunctionDecl
253 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); in makeUnavailableInSystemHeader()
382 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused()
385 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused()
436 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed()
494 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
582 if (const FunctionDecl *FD = in IsRecordFullyDefined()
583 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
621 const FunctionDecl *Definition = nullptr; in ActOnEndOfTranslationUnit()
776 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit()
777 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit()
874 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
876 return dyn_cast<FunctionDecl>(DC); in getCurFunctionDecl()
888 if (isa<ObjCMethodDecl>(DC) || isa<FunctionDecl>(DC)) in getCurFunctionOrMethodDecl()
1259 if (const FunctionDecl *OverloadDecl in tryExprAsCall()
1260 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1293 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
1363 const FunctionDecl *OverloadDecl = cast<FunctionDecl>(*It); in notePlausibleOverloads()