Lines Matching defs:Proto
6747 const auto *Proto = Fn->getType()->castAs<FunctionProtoType>();
6748 if (Proto->getNumParams() < 1)
6752 QualType ArgType = Proto->getParamType(0).getNonReferenceType();
6757 if (Proto->getNumParams() < 2)
6761 QualType ArgType = Proto->getParamType(1).getNonReferenceType();
6801 const FunctionProtoType *Proto
6803 assert(Proto && "Functions without a prototype cannot be overloaded");
6942 unsigned NumParams = Proto->getNumParams();
6948 !Proto->isVariadic() &&
7008 QualType ParamType = Proto->getParamType(ArgIdx);
7395 const FunctionProtoType *Proto
7397 assert(Proto && "Methods without a prototype cannot be overloaded");
7445 !Proto->isVariadic() &&
7534 : Proto->getParamType(ArgIdx - 1);
7536 ParamType = Proto->getParamType(ArgIdx + ExplicitOffset);
8094 const FunctionProtoType *Proto,
8148 unsigned NumParams = Proto->getNumParams();
8153 if (Args.size() > NumParams && !Proto->isVariadic()) {
8176 QualType ParamType = Proto->getParamType(ArgIdx);
9020 if (const FunctionProtoType *Proto =PointeeTy->getAs<FunctionProtoType>())
9021 if (Proto->getMethodQuals() || Proto->getRefQualifier())
14985 const auto *Proto = Method->getType()->castAs<FunctionProtoType>();
14986 unsigned NumParams = Proto->getNumParams();
15442 const auto *Proto = Method->getType()->castAs<FunctionProtoType>();
15460 CurFPFeatureOverrides(), Proto->getNumParams());
15472 Proto->getNumParams());
15481 if (ConvertArgumentsForCall(TheCall, MemExpr, Method, Proto, Args,
15487 if (CheckFunctionCall(Method, TheCall, Proto))
15634 if (const FunctionProtoType *Proto = ConvType->getAs<FunctionProtoType>())
15636 AddSurrogateCandidate(Conv, I.getPair(), ActingContext, Proto,
15739 const auto *Proto = Method->getType()->castAs<FunctionProtoType>();
15740 unsigned NumParams = Proto->getNumParams();
15775 if (Proto->isVariadic()) {
15802 if (CheckFunctionCall(Method, TheCall, Proto))
16285 if (const auto *Proto =
16287 if (Proto->isTemplateVariadic())
16290 if (const auto *Proto =
16292 if (Proto->isTemplateVariadic())