Lines Matching defs:Proto
3022 const FunctionProtoType *Proto,
3025 assert((FDecl || Proto) && "Need a function declaration or prototype");
3077 if (!Proto) {
3087 Proto = type->getAs<FunctionProtoType>();
3093 if (Proto) {
3095 for (auto paramType : Proto->getParamTypes()) {
3151 void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
3176 unsigned NumParams = Proto ? Proto->getNumParams()
3192 if (FDecl || Proto) {
3193 CheckNonNullArguments(*this, FDecl, Proto, Args, Loc);
3204 if (!Proto && FDecl) {
3207 Proto = cast<FunctionProtoType>(FDecl->getFunctionType());
3209 if (Proto) {
3212 const auto N = std::min<unsigned>(Proto->getNumParams(), Args.size());
3213 bool IsScalableRet = Proto->getReturnType()->isSizelessVectorType();
3227 QualType ParamTy = Proto->getParamType(ArgIdx);
3238 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo();
3344 const FunctionProtoType *Proto,
3347 Proto->isVariadic() ? VariadicConstructor : VariadicDoesNotApply;
3354 checkCall(FDecl, Proto, /*ThisArg=*/nullptr, Args, /*IsMemberFunction=*/true,
3359 const FunctionProtoType *Proto) {
3364 VariadicCallType CallType = getVariadicCallType(FDecl, Proto,
3398 checkCall(FDecl, Proto, ImplicitThis, llvm::ArrayRef(Args, NumArgs),
3443 const FunctionProtoType *Proto) {
3457 if (!Proto || !Proto->isVariadic()) {
3465 checkCall(NDecl, Proto, /*ThisArg=*/nullptr,
3473 bool Sema::CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto) {
3474 VariadicCallType CallType = getVariadicCallType(/*FDecl=*/nullptr, Proto,
3476 checkCall(/*FDecl=*/nullptr, Proto, /*ThisArg=*/nullptr,
9156 const FunctionProtoType *Proto
9158 if (!Proto->isNothrow(/*ResultIfDependent*/true) &&