Lines Matching refs:Proto
1103 const FunctionProtoType *Proto
1105 assert(Proto && "No function prototype in template instantiation?");
1106 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(),
1107 AE = Proto->arg_type_end(); AI != AE; ++AI) {
2380 const FunctionProtoType *Proto,
2382 assert(Proto->getExceptionSpecType() != EST_Uninstantiated);
2402 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) {
2405 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) {
2465 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs,
2474 if (Expr *OldNoexceptExpr = Proto->getNoexceptExpr()) {
2498 EPI.ExceptionSpecType = Proto->getExceptionSpecType();
2511 const FunctionProtoType *Proto = Decl->getType()->castAs<FunctionProtoType>();
2512 if (Proto->getExceptionSpecType() != EST_Uninstantiated)
2520 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo();
2522 Decl->setType(Context.getFunctionType(Proto->getResultType(),
2523 Proto->arg_type_begin(),
2524 Proto->getNumArgs(),
2537 FunctionDecl *Template = Proto->getExceptionSpecTemplate();
2577 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>();
2578 assert(Proto && "Function template without prototype?");
2580 if (Proto->hasExceptionSpec() || Proto->getNoReturnAttr()) {
2581 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo();
2608 ::InstantiateExceptionSpec(SemaRef, New, Proto, TemplateArgs);