Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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()
255 FD->getType()->castAs<FunctionProtoType>()->getExceptionSpecType(); in exceptionSpecNotKnownYet()
369 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
419 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()
551 ExceptionSpecificationType OldEST = Old->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl()
552 ExceptionSpecificationType NewEST = New->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl()
[all …]
H A DSemaTemplateVariadic.cpp1089 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
1096 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
H A DSemaType.cpp5111 if (IsTypedefName && FTI.getExceptionSpecType() && !LangOpts.CPlusPlus17) in GetFullTypeForDeclarator()
5295 if (FTI.getExceptionSpecType() == EST_Dynamic) { in GetFullTypeForDeclarator()
5305 } else if (isComputedNoexcept(FTI.getExceptionSpecType())) { in GetFullTypeForDeclarator()
5310 FTI.getExceptionSpecType(), in GetFullTypeForDeclarator()
8032 switch (Proto->getExceptionSpecType()) { in handleFunctionTypeAttr()
H A DSemaExprMember.cpp846 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in BuildMemberExpr()
H A DSemaDeclCXX.cpp195 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in CalledDecl()
7681 if (FPT->getExceptionSpecType() != EST_Unevaluated) in EvaluateImplicitExceptionSpec()
9193 if (FD->getExceptionSpecType() == EST_None) { in CheckExplicitlyDefaultedComparison()
19295 switch (Proto->getExceptionSpecType()) { in checkThisInStaticMemberFunctionExceptionSpec()
H A DSemaTemplateInstantiateDecl.cpp5241 if (Proto->getExceptionSpecType() != EST_Uninstantiated) in InstantiateExceptionSpec()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp762 Func->getExceptionSpecType())); in getFragmentsForFunction()
878 Method->getExceptionSpecType())); in getFragmentsForSpecialCXXMethod()
921 Method->getExceptionSpecType())); in getFragmentsForCXXMethod()
984 Method->getExceptionSpecType())); in getFragmentsForOverloadedOperator()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5411 return getExceptionSpecSize(getExceptionSpecType(), getNumExceptions());
5416 assert((getExceptionSpecType() != EST_Dynamic ||
5462 ExceptionSpecificationType getExceptionSpecType() const {
5468 bool hasExceptionSpec() const { return getExceptionSpecType() != EST_None; }
5472 return isDynamicExceptionSpec(getExceptionSpecType());
5477 return isNoexceptExceptionSpec(getExceptionSpecType());
5490 Result.Type = getExceptionSpecType();
5506 return getExceptionSpecType() == EST_Dynamic
5521 if (!isComputedNoexcept(getExceptionSpecType()))
5531 if (getExceptionSpecType() != EST_Uninstantiated &&
[all …]
H A DDecl.h2842 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
2846 return FPT ? FPT->getExceptionSpecType() : EST_None; in getExceptionSpecType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3726 if (getExceptionSpecType() == EST_Dynamic) { in FunctionProtoType()
3748 else if (isComputedNoexcept(getExceptionSpecType())) { in FunctionProtoType()
3750 assert((getExceptionSpecType() == EST_DependentNoexcept) == in FunctionProtoType()
3761 else if (getExceptionSpecType() == EST_Uninstantiated) { in FunctionProtoType()
3769 } else if (getExceptionSpecType() == EST_Unevaluated) { in FunctionProtoType()
3779 if (getExceptionSpecType() == EST_Dynamic || in FunctionProtoType()
3780 getExceptionSpecType() == EST_DependentNoexcept) { in FunctionProtoType()
3860 switch (getExceptionSpecType()) { in canThrow()
H A DDeclPrinter.cpp805 if (FT->getExceptionSpecType() == EST_MSAny) in VisitFunctionDecl()
815 } else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) { in VisitFunctionDecl()
817 if (isComputedNoexcept(FT->getExceptionSpecType())) { in VisitFunctionDecl()
H A DTypePrinter.cpp891 if (getExceptionSpecType() == EST_MSAny) in printExceptionSpecification()
901 } else if (EST_NoThrow == getExceptionSpecType()) { in printExceptionSpecification()
903 } else if (isNoexceptExceptionSpec(getExceptionSpecType())) { in printExceptionSpecification()
907 if (isComputedNoexcept(getExceptionSpecType())) { in printExceptionSpecification()
H A DASTStructuralEquivalence.cpp823 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
824 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
H A DItaniumMangle.cpp3721 if (isComputedNoexcept(T->getExceptionSpecType())) { in mangleType()
3726 assert(T->getExceptionSpecType() == EST_Dynamic); in mangleType()
H A DASTContext.cpp3645 if (PointeeType->castAs<FunctionProtoType>()->getExceptionSpecType() != in getPointerAuthTypeDiscriminator()
7598 (isUnresolvedExceptionSpec(XFPT->getExceptionSpecType()) || in isSameEntity()
7599 isUnresolvedExceptionSpec(YFPT->getExceptionSpecType())) && in isSameEntity()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCall.cpp86 if (!isUnresolvedExceptionSpec(fpt->getExceptionSpecType()) && in addAttributesFromFunctionProtoType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1480 switch (getExceptionSpecType()) { in destroy()
1566 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
H A DSema.h5431 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
5456 ESI.Type = getExceptionSpecType(); in getExceptionSpec()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp141 return !isNoexceptExceptionSpec(Proto->getExceptionSpecType()) || in FunctionCanThrow()
H A DCGException.cpp490 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitStartEHSpec()
597 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitEndEHSpec()
H A DCGCall.cpp1844 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()) && in AddAttributesFromFunctionProtoType()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3681 bool IsUnresolved = isUnresolvedExceptionSpec(FPT->getExceptionSpecType()); in attachPreviousDeclImpl()
3683 isUnresolvedExceptionSpec(PrevFPT->getExceptionSpecType()); in attachPreviousDeclImpl()
4866 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in UpdateDecl()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp2365 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; in HandleMemberFunctionDeclDelays()
2394 if (FTI.getExceptionSpecType() == EST_Unparsed) { in HandleMemberFunctionDeclDelays()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5551 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in AST_POLYMORPHIC_MATCHER()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp2785 if (!isUnresolvedExceptionSpec(Proto->getExceptionSpecType()) && in CanThrow()

12