Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp647 bool Sema::handlerCanCatch(QualType HandlerType, QualType ExceptionType) { in handlerCanCatch() argument
658 if (Context.hasSameUnqualifiedType(ExceptionType, HandlerType)) in handlerCanCatch()
669 if (ExceptionType->isNullPtrType()) in handlerCanCatch()
681 if (IsQualificationConversion(ExceptionType, HandlerType, false, in handlerCanCatch()
683 IsFunctionConversion(ExceptionType, HandlerType, Result)) in handlerCanCatch()
687 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
692 ExceptionType = Context.getUnqualifiedArrayType( in handlerCanCatch()
693 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch()
699 if (HandlerType->isVoidType() && ExceptionType->isObjectType()) in handlerCanCatch()
707 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
[all …]
H A DSemaDeclObjC.cpp4911 QualType ExceptionType = TInfo->getType(); in ActOnObjCExceptionDecl() local
4913 VarDecl *New = BuildObjCExceptionDecl(TInfo, ExceptionType, in ActOnObjCExceptionDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp2887 reinterpret_cast<QualType *>(getTrailingObjects<ExceptionType>()); in FunctionProtoType()
2889 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType() local
2893 if (ExceptionType->isInstantiationDependentType()) in FunctionProtoType()
2896 if (ExceptionType->containsUnexpandedParameterPack()) in FunctionProtoType()
2899 exnSlot[I++] = ExceptionType; in FunctionProtoType()
H A DASTContext.cpp3770 FunctionType::ExceptionType, Expr *, FunctionDecl *, in getFunctionTypeInternal()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h3583 struct ExceptionType { QualType Type; };
3692 FunctionType::ExceptionType, Expr *, FunctionDecl *,
3797 unsigned numTrailingObjects(OverloadToken<ExceptionType>) const {
4050 getTrailingObjects<ExceptionType>());
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1487 bool handlerCanCatch(QualType HandlerType, QualType ExceptionType);
3894 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,