Lines Matching refs:FunctionDecl
283 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); in makeUnavailableInSystemHeader()
400 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused()
403 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused()
454 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed()
512 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
599 if (const FunctionDecl *FD = in IsRecordFullyDefined()
600 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
796 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit()
797 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit()
897 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
899 return dyn_cast<FunctionDecl>(DC); in getCurFunctionDecl()
911 if (isa<ObjCMethodDecl>(DC) || isa<FunctionDecl>(DC)) in getCurFunctionOrMethodDecl()
1282 if (const FunctionDecl *OverloadDecl in tryExprAsCall()
1283 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1316 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
1386 const FunctionDecl *OverloadDecl = cast<FunctionDecl>(*It); in notePlausibleOverloads()