| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | NoexceptMoveConstructorCheck.cpp | 43 if (isUnresolvedExceptionSpec(ProtoType->getExceptionSpecType())) in check() 46 if (!isNoexceptExceptionSpec(ProtoType->getExceptionSpecType())) { in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 210 if (FPT->getExceptionSpecType() == EST_Unparsed) { in ResolveExceptionSpec() 215 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) in ResolveExceptionSpec() 223 if (!isUnresolvedExceptionSpec(SourceFPT->getExceptionSpecType())) in ResolveExceptionSpec() 227 if (SourceFPT->getExceptionSpecType() == EST_Unevaluated) in ResolveExceptionSpec() 234 if (Proto->getExceptionSpecType() == clang::EST_Unparsed) { in ResolveExceptionSpec() 418 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec() 554 ExceptionSpecificationType OldEST = Old->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl() 555 ExceptionSpecificationType NewEST = New->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl() 792 ExceptionSpecificationType SuperEST = Superset->getExceptionSpecType(); in CheckExceptionSpecSubset() 793 ExceptionSpecificationType SubEST = Subset->getExceptionSpecType(); in CheckExceptionSpecSubset() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 938 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks() 945 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
|
| H A D | SemaType.cpp | 5280 if (IsTypedefName && FTI.getExceptionSpecType() && !LangOpts.CPlusPlus17) in GetFullTypeForDeclarator() 5444 if (FTI.getExceptionSpecType() == EST_Dynamic) { in GetFullTypeForDeclarator() 5454 } else if (isComputedNoexcept(FTI.getExceptionSpecType())) { in GetFullTypeForDeclarator() 5459 FTI.getExceptionSpecType(), in GetFullTypeForDeclarator() 7711 switch (Proto->getExceptionSpecType()) { in handleFunctionTypeAttr()
|
| H A D | SemaExprMember.cpp | 928 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in BuildMemberExpr()
|
| H A D | SemaDeclCXX.cpp | 173 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in CalledDecl() 7380 if (FPT->getExceptionSpecType() != EST_Unevaluated) in EvaluateImplicitExceptionSpec() 8746 if (FD->getExceptionSpecType() == EST_None) { in CheckExplicitlyDefaultedComparison() 18110 switch (Proto->getExceptionSpecType()) { in checkThisInStaticMemberFunctionExceptionSpec()
|
| H A D | SemaTemplateDeduction.cpp | 4257 isUnresolvedExceptionSpec(SpecializationFPT->getExceptionSpecType()) && in DeduceTemplateArguments()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseNoexceptCheck.cpp | 81 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in check()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 4150 return getExceptionSpecSize(getExceptionSpecType(), getNumExceptions()); 4155 assert((getExceptionSpecType() != EST_Dynamic || 4192 ExceptionSpecificationType getExceptionSpecType() const { 4202 return isDynamicExceptionSpec(getExceptionSpecType()); 4207 return isNoexceptExceptionSpec(getExceptionSpecType()); 4220 Result.Type = getExceptionSpecType(); 4236 return getExceptionSpecType() == EST_Dynamic 4251 if (!isComputedNoexcept(getExceptionSpecType())) 4261 if (getExceptionSpecType() != EST_Uninstantiated && 4262 getExceptionSpecType() != EST_Unevaluated) [all …]
|
| H A D | Decl.h | 2592 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function 2596 return FPT ? FPT->getExceptionSpecType() : EST_None; in getExceptionSpecType()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 3234 if (getExceptionSpecType() == EST_Dynamic) { in FunctionProtoType() 3254 else if (isComputedNoexcept(getExceptionSpecType())) { in FunctionProtoType() 3256 assert((getExceptionSpecType() == EST_DependentNoexcept) == in FunctionProtoType() 3267 else if (getExceptionSpecType() == EST_Uninstantiated) { in FunctionProtoType() 3275 } else if (getExceptionSpecType() == EST_Unevaluated) { in FunctionProtoType() 3285 if (getExceptionSpecType() == EST_Dynamic || in FunctionProtoType() 3286 getExceptionSpecType() == EST_DependentNoexcept) { in FunctionProtoType() 3338 switch (getExceptionSpecType()) { in canThrow()
|
| H A D | TypePrinter.cpp | 822 if (getExceptionSpecType() == EST_MSAny) in printExceptionSpecification() 832 } else if (EST_NoThrow == getExceptionSpecType()) { in printExceptionSpecification() 834 } else if (isNoexceptExceptionSpec(getExceptionSpecType())) { in printExceptionSpecification() 838 if (isComputedNoexcept(getExceptionSpecType())) { in printExceptionSpecification()
|
| H A D | DeclPrinter.cpp | 720 if (FT->getExceptionSpecType() == EST_MSAny) in VisitFunctionDecl() 730 } else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) { in VisitFunctionDecl() 732 if (isComputedNoexcept(FT->getExceptionSpecType())) { in VisitFunctionDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 632 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec() 633 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
|
| H A D | ItaniumMangle.cpp | 3249 if (isComputedNoexcept(T->getExceptionSpecType())) { in mangleType() 3254 assert(T->getExceptionSpecType() == EST_Dynamic); in mangleType()
|
| H A D | ASTContext.cpp | 6528 (isUnresolvedExceptionSpec(XFPT->getExceptionSpecType()) || in isSameEntity() 6529 isUnresolvedExceptionSpec(YFPT->getExceptionSpecType())) && in isSameEntity()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 136 if (isNoexceptExceptionSpec(Proto->getExceptionSpecType()) && in memberCallExpressionCanThrow()
|
| H A D | CGException.cpp | 479 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitStartEHSpec() 586 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitEndEHSpec()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1394 switch (getExceptionSpecType()) { in destroy() 1480 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
|
| H A D | Sema.h | 6149 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function 6174 ESI.Type = getExceptionSpecType(); in getExceptionSpec()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3399 bool IsUnresolved = isUnresolvedExceptionSpec(FPT->getExceptionSpecType()); in attachPreviousDeclImpl() 3401 isUnresolvedExceptionSpec(PrevFPT->getExceptionSpecType()); in attachPreviousDeclImpl() 4413 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in UpdateDecl()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 781 return getExternalExceptionSpecificationKind(FD->getExceptionSpecType()); in clang_getExceptionSpecificationType()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 2230 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; in HandleMemberFunctionDeclDelays() 2259 if (FTI.getExceptionSpecType() == EST_Unparsed) { in HandleMemberFunctionDeclDelays()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5242 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in AST_POLYMORPHIC_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 2623 if (!isUnresolvedExceptionSpec(Proto->getExceptionSpecType()) && in CanThrow()
|