Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp273 const FunctionProtoType *OldProto = in CheckEquivalentExceptionSpec() local
276 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
278 ESI.Exceptions = OldProto->exceptions(); in CheckEquivalentExceptionSpec()
312 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()
320 for (const auto &E : OldProto->exceptions()) { in CheckEquivalentExceptionSpec()
338 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); in CheckEquivalentExceptionSpec()
339 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
DSemaDecl.cpp3123 const FunctionProtoType *OldProto = nullptr; in MergeFunctionDecl() local
3125 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()
3128 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()
3129 SmallVector<QualType, 16> ParamTypes(OldProto->param_types()); in MergeFunctionDecl()
3132 OldProto->getExtProtoInfo()); in MergeFunctionDecl()
3138 for (const auto &ParamType : OldProto->param_types()) { in MergeFunctionDecl()
3171 const FunctionProtoType *OldProto in MergeFunctionDecl() local
3177 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(), in MergeFunctionDecl()
3211 OldProto->getExtProtoInfo())); in MergeFunctionDecl()
DSemaTemplateInstantiateDecl.cpp3247 const FunctionProtoType *OldProto = in SubstFunctionType() local
3254 D, D->getLocation(), OldProto->getParamType(i))); in SubstFunctionType()
/external/llvm-project/clang/lib/Sema/
DSemaExceptionSpec.cpp361 const FunctionProtoType *OldProto = in CheckEquivalentExceptionSpec() local
364 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
368 ESI.Exceptions = OldProto->exceptions(); in CheckEquivalentExceptionSpec()
411 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()
419 for (const auto &E : OldProto->exceptions()) { in CheckEquivalentExceptionSpec()
439 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); in CheckEquivalentExceptionSpec()
440 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
DSemaDecl.cpp3676 const FunctionProtoType *OldProto = nullptr; in MergeFunctionDecl() local
3678 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()
3681 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()
3682 SmallVector<QualType, 16> ParamTypes(OldProto->param_types()); in MergeFunctionDecl()
3685 OldProto->getExtProtoInfo()); in MergeFunctionDecl()
3691 for (const auto &ParamType : OldProto->param_types()) { in MergeFunctionDecl()
3729 const FunctionProtoType *OldProto in MergeFunctionDecl() local
3735 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(), in MergeFunctionDecl()
3769 OldProto->getExtProtoInfo())); in MergeFunctionDecl()
DSemaTemplateInstantiateDecl.cpp4188 const FunctionProtoType *OldProto = in SubstFunctionType() local
4195 D, D->getLocation(), OldProto->getParamType(i))); in SubstFunctionType()