Searched refs:OldProto (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp373 const auto *OldProto = Old->getType()->castAs<FunctionProtoType>(); local
375 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType();
379 ESI.Exceptions = OldProto->exceptions();
425 switch (OldProto->getExceptionSpecType()) {
433 for (const auto &E : OldProto->exceptions()) {
453 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr");
454 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy());
H A DSemaDecl.cpp4255 const FunctionProtoType *OldProto = nullptr;
4257 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) {
4260 assert(!OldProto->hasExceptionSpec() && "Exception spec in C");
4262 OldProto->getParamTypes(),
4263 OldProto->getExtProtoInfo());
4269 for (const auto &ParamType : OldProto->param_types()) {
4307 const FunctionProtoType *OldProto
4313 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(),
4347 OldProto->getExtProtoInfo()));
H A DSemaTemplateInstantiateDecl.cpp4504 const FunctionProtoType *OldProto = local
4511 D, D->getLocation(), OldProto->getParamType(i)));

Completed in 217 milliseconds