Lines Matching refs:FD
432 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
436 if (FD->hasBody(DeclToCheck))
441 DeclToCheck = FD->getMostRecentDecl();
442 if (DeclToCheck != FD)
485 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
486 if (FD->isDefined())
488 if (FD->isExternallyVisible() &&
489 !FD->getMostRecentDecl()->isInlined())
527 } else if (auto *FD = dyn_cast<FunctionDecl>(ND)) {
528 (void)FD;
529 assert(FD->getMostRecentDecl()->isInlined() &&
623 if (const FunctionDecl *FD =
625 Complete = FD->isDefined();
832 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) {
834 if (!FD->hasBody(DiagD))
835 DiagD = FD;
843 if (FD->getStorageClass() == SC_Static &&
844 !FD->isInlineSpecified() &&
846 SourceMgr.getExpansionLoc(FD->getLocation())))