Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExceptionSpec.cpp679 bool Sema::handlerCanCatch(QualType HandlerType, QualType ExceptionType) { in handlerCanCatch() argument
690 if (Context.hasSameUnqualifiedType(ExceptionType, HandlerType)) in handlerCanCatch()
701 if (ExceptionType->isNullPtrType()) in handlerCanCatch()
713 if (IsQualificationConversion(ExceptionType, HandlerType, false, in handlerCanCatch()
715 IsFunctionConversion(ExceptionType, HandlerType, Result)) in handlerCanCatch()
719 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
724 ExceptionType = Context.getUnqualifiedArrayType( in handlerCanCatch()
725 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch()
731 if (HandlerType->isVoidType() && ExceptionType->isObjectType()) in handlerCanCatch()
739 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()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp3247 reinterpret_cast<QualType *>(getTrailingObjects<ExceptionType>()); in FunctionProtoType()
3249 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType() local
3254 ExceptionType->getDependence() & in FunctionProtoType()
3257 exnSlot[I++] = ExceptionType; in FunctionProtoType()
H A DASTContext.cpp4515 FunctionType::ExceptionType, Expr *, FunctionDecl *, in getFunctionTypeInternal()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DType.h3918 struct ExceptionType { QualType Type; };
4026 FunctionType::FunctionTypeExtraBitfields, FunctionType::ExceptionType,
4143 unsigned numTrailingObjects(OverloadToken<ExceptionType>) const {
4406 getTrailingObjects<ExceptionType>());
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h2144 bool handlerCanCatch(QualType HandlerType, QualType ExceptionType);
5223 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,