Lines Matching refs:FunctionDecl
367 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))
592 void Sema::checkFortifiedBuiltinMemoryFunction(FunctionDecl *FD,
1437 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
4040 /// Given a FunctionDecl's FormatAttr, attempts to populate the FomatStringInfo
4194 if (FDecl && (isa<FunctionDecl>(FDecl) || isa<ObjCMethodDecl>(FDecl))) {
4198 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(FDecl))
4282 auto *FD = dyn_cast_or_null<FunctionDecl>(FDecl);
4286 : FDecl && isa<FunctionDecl>(FDecl)
4287 ? cast<FunctionDecl>(FDecl)->getNumParams()
4335 void Sema::CheckConstructorCall(FunctionDecl *FDecl,
4347 bool Sema::CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall,
4444 /// Checks function calls when a FunctionDecl or a NamedDecl is not available,
4970 FunctionDecl *Fn = E->getDirectCallee();
4998 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
5296 FunctionDecl *NewBuiltinDecl;
5305 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl());
5374 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
5504 if (const FunctionDecl *FD = S.getCurFunctionDecl())
5540 } else if (auto *FD = dyn_cast<FunctionDecl>(Caller)) {
6001 << cast<FunctionDecl>(TheCall->getCalleeDecl())->getIdentifier();
6082 cast<FunctionDecl>(TheCall->getCalleeDecl())->getBuiltinID();
6166 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
6970 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) {
9030 static unsigned getAbsoluteValueFunctionKind(const FunctionDecl *FDecl) {
9085 const FunctionDecl *FDecl = nullptr;
9087 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl());
9089 FDecl = dyn_cast<FunctionDecl>(I);
9120 FunctionDecl *FD = dyn_cast<FunctionDecl>(R.getFoundDecl());
9146 static bool IsStdFunction(const FunctionDecl *FDecl,
9160 const FunctionDecl *FDecl) {
9240 const FunctionDecl *FDecl) {
9876 const FunctionDecl *FD = CE->getDirectCallee();
9974 const FunctionDecl *FD) {
12181 const FunctionDecl *FD = nullptr;
12316 if (const auto *FD = dyn_cast<FunctionDecl>(PV->getDeclContext())) {
12318 if (FD->getTemplatedKind() == FunctionDecl::TK_FunctionTemplate)
14164 FunctionDecl *Fn = dyn_cast_or_null<FunctionDecl>(CE->getCalleeDecl());