Searched refs:ExceptionType (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UnhandledExceptionAtNewCheck.cpp | 49 auto ExceptionType = in registerMatchers() local 52 auto ExceptionReferenceType = referenceType(pointee(ExceptionType)); in registerMatchers() 56 ExceptionType, ExceptionReferenceType))); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 678 bool Sema::handlerCanCatch(QualType HandlerType, QualType ExceptionType) { in handlerCanCatch() argument 689 if (Context.hasSameUnqualifiedType(ExceptionType, HandlerType)) in handlerCanCatch() 700 if (ExceptionType->isNullPtrType()) in handlerCanCatch() 712 if (IsQualificationConversion(ExceptionType, HandlerType, false, in handlerCanCatch() 714 IsFunctionConversion(ExceptionType, HandlerType, Result)) in handlerCanCatch() 718 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch() 723 ExceptionType = Context.getUnqualifiedArrayType( in handlerCanCatch() 724 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch() 730 if (HandlerType->isVoidType() && ExceptionType->isObjectType()) in handlerCanCatch() 738 if (!ExceptionType->isRecordType() || !HandlerType->isRecordType()) in handlerCanCatch() [all …]
|
| H A D | SemaDeclObjC.cpp | 5203 QualType ExceptionType = TInfo->getType(); in ActOnObjCExceptionDecl() local 5205 VarDecl *New = BuildObjCExceptionDecl(TInfo, ExceptionType, in ActOnObjCExceptionDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExceptionAnalyzer.cpp | 16 const Type *ExceptionType) { in registerException() argument 17 assert(ExceptionType != nullptr && "Only valid types are accepted"); in registerException() 19 ThrownExceptions.insert(ExceptionType); in registerException()
|
| H A D | ExceptionAnalyzer.h | 65 void registerException(const Type *ExceptionType);
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | generics.m | 77 @interface ExceptionalArray<ExceptionType> : MutableArray<NSString *> 78 - (ExceptionType) getException;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 3240 reinterpret_cast<QualType *>(getTrailingObjects<ExceptionType>()); in FunctionProtoType() 3242 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType() local 3247 ExceptionType->getDependence() & in FunctionProtoType() 3250 exnSlot[I++] = ExceptionType; in FunctionProtoType()
|
| H A D | ASTContext.cpp | 4477 FunctionType::ExceptionType, Expr *, FunctionDecl *, in getFunctionTypeInternal()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 3856 struct ExceptionType { QualType Type; }; 3961 FunctionType::FunctionTypeExtraBitfields, FunctionType::ExceptionType, 4078 unsigned numTrailingObjects(OverloadToken<ExceptionType>) const { 4342 getTrailingObjects<ExceptionType>());
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 2112 bool handlerCanCatch(QualType HandlerType, QualType ExceptionType); 5100 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,
|