Lines Matching refs:proto
196 if (const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT)) {
197 unsigned NumArgsInProto = Proto->getNumArgs();
2344 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(VD->getType()))
2345 if (proto->getResultType() == Context.UnknownAnyTy) {
2657 // Reject sizeof(interface) and sizeof(interface<proto>) in 64-bit mode.
3184 /// function prototype Proto. Call is the call expression itself, and
3191 const FunctionProtoType *Proto,
3203 unsigned NumArgsInProto = Proto->getNumArgs();
3219 if (!Proto->isVariadic()) {
3240 Proto->isVariadic() ? VariadicFunction : VariadicDoesNotApply;
3246 Proto, 0, Args, NumArgs, AllArgs, CallType);
3258 const FunctionProtoType *Proto,
3263 unsigned NumArgsInProto = Proto->getNumArgs();
3272 QualType ProtoArgType = Proto->getArgType(i);
3292 Proto->isArgConsumed(i));
3318 if (Proto->getResultType() == Context.UnknownAnyTy &&
3583 if (const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FuncT)) {
3584 if (ConvertArgumentsForCall(TheCall, Fn, FDecl, Proto, Args, NumArgs,
3595 const FunctionProtoType *Proto
3597 if (!Proto || !(Proto->isVariadic() && NumArgs >= Def->param_size()))
3605 Proto = FDecl->getType()->getAs<FunctionProtoType>();
3612 if (Proto && i < Proto->getNumArgs()) {
3615 Proto->getArgType(i),
3616 Proto->isArgConsumed(i));
9534 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(fnType))
9536 proto->arg_type_begin(),
9537 proto->getNumArgs(),
9538 proto->getExtProtoInfo());