Home
last modified time | relevance | path

Searched refs:OldProto (Results 1 – 3 of 3) 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()