Lines Matching defs:Proto
2080 /// FunctionArgTypesAreEqual - This routine checks two function proto types
4069 const FunctionProtoType* Proto
4071 assert(Proto && "Functions without a prototype cannot be overloaded");
4122 unsigned NumArgsInProto = Proto->getNumArgs();
4128 !Proto->isVariadic()) {
4156 QualType ParamType = Proto->getArgType(ArgIdx);
4259 const FunctionProtoType* Proto
4261 assert(Proto && "Methods without a prototype cannot be overloaded");
4280 unsigned NumArgsInProto = Proto->getNumArgs();
4285 if (NumArgs > NumArgsInProto && !Proto->isVariadic()) {
4331 QualType ParamType = Proto->getArgType(ArgIdx);
4644 /// with the given arguments (C++ [over.call.object]p2-4). Proto is
4649 const FunctionProtoType *Proto,
4697 unsigned NumArgsInProto = Proto->getNumArgs();
4702 if (NumArgs > NumArgsInProto && !Proto->isVariadic()) {
4725 QualType ParamType = Proto->getArgType(ArgIdx);
5465 if (const FunctionProtoType *Proto
5466 if (Proto->getTypeQuals() || Proto->getRefQualifier())
7440 const FunctionProtoType* Proto;
7448 Proto = ConvType->getAs<FunctionProtoType>();
7451 Proto = Cand->Function->getType()->getAs<FunctionProtoType>();
7470 unsigned NumArgsInProto = Proto->getNumArgs();
7474 = TryCopyInitialization(S, Args[ArgIdx], Proto->getArgType(ArgIdx),
9104 const FunctionProtoType *proto = fnType->castAs<FunctionProtoType>();
9105 QualType resultType = proto->getCallResultType(Context);
9106 ExprValueKind valueKind = Expr::getValueKindForType(proto->getResultType());
9110 Qualifiers funcQuals = Qualifiers::fromCVRMask(proto->getTypeQuals());
9132 if (CheckCallReturnType(proto->getResultType(),
9137 if (ConvertArgumentsForCall(call, op, 0, proto, Args, NumArgs, RParenLoc))
9281 const FunctionProtoType *Proto =
9283 if (ConvertArgumentsForCall(TheCall, MemExpr, Method, Proto, Args, NumArgs,
9391 if (const FunctionProtoType *Proto = ConvType->getAs<FunctionProtoType>())
9392 AddSurrogateCandidate(Conv, I.getPair(), ActingContext, Proto,
9470 const FunctionProtoType *Proto =
9473 unsigned NumArgsInProto = Proto->getNumArgs();
9560 if (Proto->isVariadic()) {