Home
last modified time | relevance | path

Searched refs:getExceptionSpecType (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DNoexceptMoveConstructorCheck.cpp43 if (isUnresolvedExceptionSpec(ProtoType->getExceptionSpecType())) in check()
46 if (!isNoexceptExceptionSpec(ProtoType->getExceptionSpecType())) { in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp210 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 DSemaTemplateVariadic.cpp938 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
945 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
H A DSemaType.cpp5280 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 DSemaExprMember.cpp928 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in BuildMemberExpr()
H A DSemaDeclCXX.cpp173 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 DSemaTemplateDeduction.cpp4257 isUnresolvedExceptionSpec(SpecializationFPT->getExceptionSpecType()) && in DeduceTemplateArguments()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNoexceptCheck.cpp81 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h4150 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 DDecl.h2592 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 DType.cpp3234 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 DTypePrinter.cpp822 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 DDeclPrinter.cpp720 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 DASTStructuralEquivalence.cpp632 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
633 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
H A DItaniumMangle.cpp3249 if (isComputedNoexcept(T->getExceptionSpecType())) { in mangleType()
3254 assert(T->getExceptionSpecType() == EST_Dynamic); in mangleType()
H A DASTContext.cpp6528 (isUnresolvedExceptionSpec(XFPT->getExceptionSpecType()) || in isSameEntity()
6529 isUnresolvedExceptionSpec(YFPT->getExceptionSpecType())) && in isSameEntity()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCoroutine.cpp136 if (isNoexceptExceptionSpec(Proto->getExceptionSpecType()) && in memberCallExpressionCanThrow()
H A DCGException.cpp479 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitStartEHSpec()
586 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitEndEHSpec()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h1394 switch (getExceptionSpecType()) { in destroy()
1480 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
H A DSema.h6149 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
6174 ESI.Type = getExceptionSpecType(); in getExceptionSpec()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp3399 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 DCXType.cpp781 return getExternalExceptionSpecificationKind(FD->getExceptionSpecType()); in clang_getExceptionSpecificationType()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDeclCXX.cpp2230 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 DASTMatchers.h5242 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in AST_POLYMORPHIC_MATCHER()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp2623 if (!isUnresolvedExceptionSpec(Proto->getExceptionSpecType()) && in CanThrow()

12