Lines Matching refs:Proto
1193 const FunctionProtoType *Proto in VisitFunctionDecl() local
1195 assert(Proto && "No function prototype in template instantiation?"); in VisitFunctionDecl()
1196 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(), in VisitFunctionDecl()
1197 AE = Proto->arg_type_end(); AI != AE; ++AI) { in VisitFunctionDecl()
2464 const FunctionProtoType *Proto, in InstantiateExceptionSpec() argument
2466 assert(Proto->getExceptionSpecType() != EST_Uninstantiated); in InstantiateExceptionSpec()
2486 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) { in InstantiateExceptionSpec()
2489 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) { in InstantiateExceptionSpec()
2549 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs, in InstantiateExceptionSpec()
2558 if (Expr *OldNoexceptExpr = Proto->getNoexceptExpr()) { in InstantiateExceptionSpec()
2582 EPI.ExceptionSpecType = Proto->getExceptionSpecType(); in InstantiateExceptionSpec()
2595 const FunctionProtoType *Proto = Decl->getType()->castAs<FunctionProtoType>(); in InstantiateExceptionSpec() local
2596 if (Proto->getExceptionSpecType() != EST_Uninstantiated) in InstantiateExceptionSpec()
2604 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in InstantiateExceptionSpec()
2606 Decl->setType(Context.getFunctionType(Proto->getResultType(), in InstantiateExceptionSpec()
2607 ArrayRef<QualType>(Proto->arg_type_begin(), in InstantiateExceptionSpec()
2608 Proto->getNumArgs()), in InstantiateExceptionSpec()
2621 FunctionDecl *Template = Proto->getExceptionSpecTemplate(); in InstantiateExceptionSpec()
2661 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); in InitFunctionInstantiation() local
2662 assert(Proto && "Function template without prototype?"); in InitFunctionInstantiation()
2664 if (Proto->hasExceptionSpec() || Proto->getNoReturnAttr()) { in InitFunctionInstantiation()
2665 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in InitFunctionInstantiation()
2692 ::InstantiateExceptionSpec(SemaRef, New, Proto, TemplateArgs); in InitFunctionInstantiation()