Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp685 bool Sema::handlerCanCatch(QualType HandlerType, QualType ExceptionType) { in handlerCanCatch() argument
696 if (Context.hasSameUnqualifiedType(ExceptionType, HandlerType)) in handlerCanCatch()
707 if (ExceptionType->isNullPtrType()) in handlerCanCatch()
719 if (IsQualificationConversion(ExceptionType, HandlerType, false, in handlerCanCatch()
721 IsFunctionConversion(ExceptionType, HandlerType, Result)) in handlerCanCatch()
725 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
730 ExceptionType = Context.getUnqualifiedArrayType( in handlerCanCatch()
731 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch()
737 if (HandlerType->isVoidType() && ExceptionType->isObjectType()) in handlerCanCatch()
745 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
[all …]
H A DSemaDeclObjC.cpp5215 QualType ExceptionType = TInfo->getType(); in ActOnObjCExceptionDecl() local
5217 VarDecl *New = BuildObjCExceptionDecl(TInfo, ExceptionType, in ActOnObjCExceptionDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3509 reinterpret_cast<QualType *>(getTrailingObjects<ExceptionType>()); in FunctionProtoType()
3511 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType() local
3516 ExceptionType->getDependence() & in FunctionProtoType()
3519 exnSlot[I++] = ExceptionType; in FunctionProtoType()
H A DASTContext.cpp4492 FunctionType::FunctionTypeArmAttributes, FunctionType::ExceptionType, in getFunctionTypeInternal()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4033 struct ExceptionType { QualType Type; };
4194 FunctionType::FunctionTypeArmAttributes, FunctionType::ExceptionType,
4333 unsigned numTrailingObjects(OverloadToken<ExceptionType>) const {
4603 getTrailingObjects<ExceptionType>());
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2194 bool handlerCanCatch(QualType HandlerType, QualType ExceptionType);
5349 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,