Lines Matching refs:FunctionDecl
300 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); in makeUnavailableInSystemHeader()
433 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused()
436 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused()
487 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed()
545 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
632 if (const FunctionDecl *FD = in IsRecordFullyDefined()
633 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
735 !(isa<FunctionDecl>(PrevDecl) || isa<VarDecl>(PrevDecl))) in ActOnEndOfTranslationUnit()
835 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit()
836 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit()
947 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
949 return dyn_cast<FunctionDecl>(DC); in getCurFunctionDecl()
961 if (isa<ObjCMethodDecl>(DC) || isa<FunctionDecl>(DC)) in getCurFunctionOrMethodDecl()
1335 if (const FunctionDecl *OverloadDecl in tryExprAsCall()
1336 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1369 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
1439 const FunctionDecl *OverloadDecl = cast<FunctionDecl>(*It); in notePlausibleOverloads()