Home | History | Annotate | Download | only in Sema

Lines Matching defs:FDecl

696                                                   FunctionDecl *FDecl) {
701 (FDecl && FDecl->hasAttr<CFAuditedTransferAttr>()))) {
2320 FunctionDecl *FDecl = cast<FunctionDecl>(D);
2323 if (FDecl->getBuiltinID() && FDecl->isImplicit())
3634 Sema::getVariadicCallType(FunctionDecl *FDecl, const FunctionProtoType *Proto,
3637 if (dyn_cast_or_null<CXXConstructorDecl>(FDecl))
3641 else if (FDecl) {
3642 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(FDecl))
3652 /// Args/NumArgs to the parameter types of the function FDecl with
3659 FunctionDecl *FDecl,
3666 if (FDecl)
3667 if (unsigned ID = FDecl->getBuiltinID())
3675 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumArgsInProto;
3685 if (MinArgs == 1 && FDecl && FDecl->getParamDecl(0)->getDeclName())
3690 << FDecl->getParamDecl(0) << Fn->getSourceRange();
3699 if (FDecl && !FDecl->getBuiltinID() && !IsExecConfig)
3700 Diag(FDecl->getLocStart(), diag::note_callee_decl)
3701 << FDecl;
3712 if (NumArgsInProto == 1 && FDecl && FDecl->getParamDecl(0)->getDeclName())
3718 << FDecl->getParamDecl(0) << NumArgs << Fn->getSourceRange()
3732 if (FDecl && !FDecl->getBuiltinID() && !IsExecConfig)
3733 Diag(FDecl->getLocStart(), diag::note_callee_decl)
3734 << FDecl;
3742 VariadicCallType CallType = getVariadicCallType(FDecl, Proto, Fn);
3744 Invalid = GatherArgumentsForCall(Call->getLocStart(), FDecl,
3756 FunctionDecl *FDecl,
3787 if (FDecl && i < FDecl->getNumParams())
3788 Param = FDecl->getParamDecl(i);
3792 FDecl && FDecl->hasAttr<CFAuditedTransferAttr>() &&
3810 assert(FDecl && "can't use default arguments without a known callee");
3811 Param = FDecl->getParamDecl(i);
3814 BuildCXXDefaultArgExpr(CallLoc, FDecl, Param);
3837 FDecl && FDecl->isExternC()) {
3849 FDecl);
4080 FunctionDecl *FDecl = dyn_cast_or_null<FunctionDecl>(NDecl);
4081 unsigned BuiltinID = (FDecl ? FDecl->getBuiltinID() : 0);
4089 Result = ImpCastExprToType(Fn, Context.getPointerType(FDecl->getType()),
4148 if (FDecl && !FDecl->hasAttr<CUDAGlobalAttr>())
4150 << FDecl->getName() << Fn->getSourceRange());
4158 if (FDecl && FDecl->hasAttr<CUDAGlobalAttr>())
4160 << FDecl->getName() << Fn->getSourceRange());
4167 FDecl))
4176 if (ConvertArgumentsForCall(TheCall, Fn, FDecl, Proto, Args, NumArgs,
4182 if (FDecl) {
4186 if (FDecl->hasBody(Def) && NumArgs != Def->param_size()) {
4190 << (NumArgs > Def->param_size()) << FDecl << Fn->getSourceRange();
4195 if (!FDecl->hasPrototype())
4196 Proto = FDecl->getType()->getAs<FunctionProtoType>();
4234 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(FDecl))
4244 if (FDecl) {
4245 if (CheckFunctionCall(FDecl, TheCall, Proto))