Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp367 const auto *OldProto = Old->getType()->castAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec() local
369 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
373 ESI.Exceptions = OldProto->exceptions(); in CheckEquivalentExceptionSpec()
419 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()
427 for (const auto &E : OldProto->exceptions()) { in CheckEquivalentExceptionSpec()
447 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); in CheckEquivalentExceptionSpec()
448 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
H A DSemaDecl.cpp4237 const FunctionProtoType *OldProto = nullptr; in MergeFunctionDecl() local
4239 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()
4242 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()
4244 OldProto->getParamTypes(), in MergeFunctionDecl()
4245 OldProto->getExtProtoInfo()); in MergeFunctionDecl()
4251 for (const auto &ParamType : OldProto->param_types()) { in MergeFunctionDecl()
4289 const FunctionProtoType *OldProto in MergeFunctionDecl() local
4295 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(), in MergeFunctionDecl()
4329 OldProto->getExtProtoInfo())); in MergeFunctionDecl()
H A DSemaTemplateInstantiateDecl.cpp5061 const FunctionProtoType *OldProto = in SubstFunctionType() local
5068 D, D->getLocation(), OldProto->getParamType(i))); in SubstFunctionType()