Lines Matching refs:FunctionDecl

381   FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext);  in makeUnavailableInSystemHeader()
554 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused()
564 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused()
609 if (auto *FD = dyn_cast<FunctionDecl>(ND)) in isFunctionOrVarDeclExternC()
648 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed()
712 } else if (auto *FD = dyn_cast<FunctionDecl>(VD)) { in checkUndefinedButUsed()
809 if (const FunctionDecl *FD = in IsRecordFullyDefined()
810 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
912 if (auto Func = dyn_cast<FunctionDecl>(PII.first)) in ActOnEndOfTranslationUnit()
967 !(isa<FunctionDecl>(PrevDecl) || isa<VarDecl>(PrevDecl))) in ActOnEndOfTranslationUnit()
1082 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit()
1083 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit()
1204 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl()
1206 return dyn_cast<FunctionDecl>(DC); in getCurFunctionDecl()
1218 if (isa<ObjCMethodDecl>(DC) || isa<FunctionDecl>(DC)) in getCurFunctionOrMethodDecl()
1669 if (const FunctionDecl *OverloadDecl in tryExprAsCall()
1670 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1708 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
1784 const FunctionDecl *OverloadDecl = cast<FunctionDecl>(*It); in notePlausibleOverloads()
1813 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) in IsCPUDispatchCPUSpecificMultiVersion()
1924 std::string Sema::getOpenCLExtensionsFromDeclExtMap(FunctionDecl *FD) { in getOpenCLExtensionsFromDeclExtMap()