Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp208 if (FPT->getExceptionSpecType() == EST_Unparsed) { in ResolveExceptionSpec()
213 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) in ResolveExceptionSpec()
221 if (!isUnresolvedExceptionSpec(SourceFPT->getExceptionSpecType())) in ResolveExceptionSpec()
225 if (SourceFPT->getExceptionSpecType() == EST_Unevaluated) in ResolveExceptionSpec()
232 if (Proto->getExceptionSpecType() == clang::EST_Unparsed) { in ResolveExceptionSpec()
253 FD->getType()->castAs<FunctionProtoType>()->getExceptionSpecType(); in exceptionSpecNotKnownYet()
367 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
417 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()
549 ExceptionSpecificationType OldEST = Old->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl()
550 ExceptionSpecificationType NewEST = New->getExceptionSpecType(); in CheckEquivalentExceptionSpecImpl()
[all …]
H A DSemaTemplateVariadic.cpp967 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks()
974 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks()
H A DSemaType.cpp5046 if (IsTypedefName && FTI.getExceptionSpecType() && !LangOpts.CPlusPlus17) in GetFullTypeForDeclarator()
5217 if (FTI.getExceptionSpecType() == EST_Dynamic) { in GetFullTypeForDeclarator()
5227 } else if (isComputedNoexcept(FTI.getExceptionSpecType())) { in GetFullTypeForDeclarator()
5232 FTI.getExceptionSpecType(), in GetFullTypeForDeclarator()
7869 switch (Proto->getExceptionSpecType()) { in handleFunctionTypeAttr()
H A DSemaExprMember.cpp952 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in BuildMemberExpr()
H A DSemaDeclCXX.cpp198 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in CalledDecl()
7524 if (FPT->getExceptionSpecType() != EST_Unevaluated) in EvaluateImplicitExceptionSpec()
9014 if (FD->getExceptionSpecType() == EST_None) { in CheckExplicitlyDefaultedComparison()
18780 switch (Proto->getExceptionSpecType()) { in checkThisInStaticMemberFunctionExceptionSpec()
H A DSemaTemplateInstantiateDecl.cpp4681 if (Proto->getExceptionSpecType() != EST_Uninstantiated) in InstantiateExceptionSpec()
H A DSemaOverload.cpp87 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in CreateFunctionRefExpr()
12734 isUnresolvedExceptionSpec(FPT->getExceptionSpecType()) && in completeFunctionType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5203 return getExceptionSpecSize(getExceptionSpecType(), getNumExceptions());
5208 assert((getExceptionSpecType() != EST_Dynamic ||
5253 ExceptionSpecificationType getExceptionSpecType() const {
5259 bool hasExceptionSpec() const { return getExceptionSpecType() != EST_None; }
5263 return isDynamicExceptionSpec(getExceptionSpecType());
5268 return isNoexceptExceptionSpec(getExceptionSpecType());
5281 Result.Type = getExceptionSpecType();
5297 return getExceptionSpecType() == EST_Dynamic
5312 if (!isComputedNoexcept(getExceptionSpecType()))
5322 if (getExceptionSpecType() != EST_Uninstantiated &&
[all …]
H A DDecl.h2741 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
2745 return FPT ? FPT->getExceptionSpecType() : EST_None; in getExceptionSpecType()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp746 Func->getExceptionSpecType())); in getFragmentsForFunction()
862 Method->getExceptionSpecType())); in getFragmentsForSpecialCXXMethod()
902 Method->getExceptionSpecType())); in getFragmentsForCXXMethod()
965 Method->getExceptionSpecType())); in getFragmentsForOverloadedOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3573 if (getExceptionSpecType() == EST_Dynamic) { in FunctionProtoType()
3595 else if (isComputedNoexcept(getExceptionSpecType())) { in FunctionProtoType()
3597 assert((getExceptionSpecType() == EST_DependentNoexcept) == in FunctionProtoType()
3608 else if (getExceptionSpecType() == EST_Uninstantiated) { in FunctionProtoType()
3616 } else if (getExceptionSpecType() == EST_Unevaluated) { in FunctionProtoType()
3626 if (getExceptionSpecType() == EST_Dynamic || in FunctionProtoType()
3627 getExceptionSpecType() == EST_DependentNoexcept) { in FunctionProtoType()
3707 switch (getExceptionSpecType()) { in canThrow()
H A DDeclPrinter.cpp776 if (FT->getExceptionSpecType() == EST_MSAny) in VisitFunctionDecl()
786 } else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) { in VisitFunctionDecl()
788 if (isComputedNoexcept(FT->getExceptionSpecType())) { in VisitFunctionDecl()
H A DTypePrinter.cpp884 if (getExceptionSpecType() == EST_MSAny) in printExceptionSpecification()
894 } else if (EST_NoThrow == getExceptionSpecType()) { in printExceptionSpecification()
896 } else if (isNoexceptExceptionSpec(getExceptionSpecType())) { in printExceptionSpecification()
900 if (isComputedNoexcept(getExceptionSpecType())) { in printExceptionSpecification()
H A DASTStructuralEquivalence.cpp777 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
778 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
H A DItaniumMangle.cpp3539 if (isComputedNoexcept(T->getExceptionSpecType())) { in mangleType()
3544 assert(T->getExceptionSpecType() == EST_Dynamic); in mangleType()
H A DASTContext.cpp7056 (isUnresolvedExceptionSpec(XFPT->getExceptionSpecType()) || in isSameEntity()
7057 isUnresolvedExceptionSpec(YFPT->getExceptionSpecType())) && in isSameEntity()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1478 switch (getExceptionSpecType()) { in destroy()
1564 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
H A DSema.h5016 ExceptionSpecificationType getExceptionSpecType() const { in getExceptionSpecType() function
5041 ESI.Type = getExceptionSpecType(); in getExceptionSpec()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp140 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.cpp1749 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()) && in AddAttributesFromFunctionProtoType()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3631 bool IsUnresolved = isUnresolvedExceptionSpec(FPT->getExceptionSpecType()); in attachPreviousDeclImpl()
3633 isUnresolvedExceptionSpec(PrevFPT->getExceptionSpecType()); in attachPreviousDeclImpl()
4728 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in UpdateDecl()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp2524 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; in HandleMemberFunctionDeclDelays()
2553 if (FTI.getExceptionSpecType() == EST_Unparsed) { in HandleMemberFunctionDeclDelays()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5505 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in AST_POLYMORPHIC_MATCHER()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp2687 if (!isUnresolvedExceptionSpec(Proto->getExceptionSpecType()) && in CanThrow()

12