Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp673 bool Sema::handlerCanCatch(QualType HandlerType, QualType ExceptionType) { in handlerCanCatch() argument
684 if (Context.hasSameUnqualifiedType(ExceptionType, HandlerType)) in handlerCanCatch()
695 if (ExceptionType->isNullPtrType()) in handlerCanCatch()
707 if (IsQualificationConversion(ExceptionType, HandlerType, false, in handlerCanCatch()
709 IsFunctionConversion(ExceptionType, HandlerType, Result)) in handlerCanCatch()
713 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
718 ExceptionType = Context.getUnqualifiedArrayType( in handlerCanCatch()
719 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch()
725 if (HandlerType->isVoidType() && ExceptionType->isObjectType()) in handlerCanCatch()
733 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch()
[all …]
H A DSemaDeclObjC.cpp5231 QualType ExceptionType = TInfo->getType(); in ActOnObjCExceptionDecl() local
5233 VarDecl *New = BuildObjCExceptionDecl(TInfo, ExceptionType, in ActOnObjCExceptionDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp713 StringRef ExceptionType; in visitBlockCommandComment() local
718 ExceptionType = C->getArgText(0); in visitBlockCommandComment()
747 ExceptionType); in visitBlockCommandComment()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h501 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,
H A DSema.h6180 bool handlerCanCatch(QualType HandlerType, QualType ExceptionType);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3581 reinterpret_cast<QualType *>(getTrailingObjects<ExceptionType>()); in FunctionProtoType()
3583 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType() local
3588 ExceptionType->getDependence() & in FunctionProtoType()
3591 exnSlot[I++] = ExceptionType; in FunctionProtoType()
H A DASTContext.cpp4903 FunctionType::FunctionTypeArmAttributes, FunctionType::ExceptionType, in getFunctionTypeInternal()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4516 struct ExceptionType { QualType Type; };
4971 FunctionType::FunctionTypeArmAttributes, FunctionType::ExceptionType,
5119 unsigned numTrailingObjects(OverloadToken<ExceptionType>) const {
5402 getTrailingObjects<ExceptionType>());