Home
last modified time | relevance | path

Searched refs:ExceptionSpec (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1191 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionProtoType()
1193 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in VisitFunctionProtoType()
1205 info.ExceptionSpec.Exceptions = in VisitFunctionProtoType()
1490 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionType()
1492 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in VisitFunctionType()
1505 info.ExceptionSpec.Exceptions = in VisitFunctionType()
3686 FunctionTypeBits.ExceptionSpecType = epi.ExceptionSpec.Type; in FunctionProtoType()
3728 size_t NumExceptions = epi.ExceptionSpec.Exceptions.size(); in FunctionProtoType()
3736 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType()
3749 assert(epi.ExceptionSpec.NoexceptExpr && "computed noexcept with no expr"); in FunctionProtoType()
[all …]
H A DTextNodeDumper.cpp2054 switch (EPI.ExceptionSpec.Type) { in VisitFunctionProtoType()
2091 if (!EPI.ExceptionSpec.Exceptions.empty()) { in VisitFunctionProtoType()
2094 for (unsigned I = 0, N = EPI.ExceptionSpec.Exceptions.size(); I != N; in VisitFunctionProtoType()
2098 dumpType(EPI.ExceptionSpec.Exceptions[I]); in VisitFunctionProtoType()
2102 if (EPI.ExceptionSpec.NoexceptExpr) { in VisitFunctionProtoType()
2105 Visit(EPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
2108 dumpDeclRef(EPI.ExceptionSpec.SourceDecl, "ExceptionSourceDecl"); in VisitFunctionProtoType()
2109 dumpDeclRef(EPI.ExceptionSpec.SourceTemplate, "ExceptionSourceTemplate"); in VisitFunctionProtoType()
2295 switch (EPI.ExceptionSpec.Type) { in VisitFunctionDecl()
2299 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
[all …]
H A DJSONNodeDumper.cpp635 switch (E.ExceptionSpec.Type) { in VisitFunctionProtoType()
640 for (QualType QT : E.ExceptionSpec.Exceptions) in VisitFunctionProtoType()
655 E.ExceptionSpec.Type == EST_NoexceptTrue); in VisitFunctionProtoType()
H A DASTContext.cpp5029 if (OnlyWantCanonical || !isComputedNoexcept(EPI.ExceptionSpec.Type) || in getFunctionTypeInternal()
5030 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
5042 isCanonicalExceptionSpecification(EPI.ExceptionSpec, NoexceptInType); in getFunctionTypeInternal()
5071 switch (EPI.ExceptionSpec.Type) { in getFunctionTypeInternal()
5077 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
5084 for (QualType ET : EPI.ExceptionSpec.Exceptions) { in getFunctionTypeInternal()
5090 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
5092 CanonicalEPI.ExceptionSpec.Type = EST_Dynamic; in getFunctionTypeInternal()
5093 CanonicalEPI.ExceptionSpec.Exceptions = ExceptionTypeStorage; in getFunctionTypeInternal()
5102 CanonicalEPI.ExceptionSpec.Type = EST_BasicNoexcept; in getFunctionTypeInternal()
[all …]
H A DASTImporter.cpp1581 ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type; in VisitFunctionProtoType()
1582 ToEPI.ExceptionSpec.NoexceptExpr = in VisitFunctionProtoType()
1583 importChecked(Err, FromEPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
1584 ToEPI.ExceptionSpec.SourceDecl = in VisitFunctionProtoType()
1585 importChecked(Err, FromEPI.ExceptionSpec.SourceDecl); in VisitFunctionProtoType()
1586 ToEPI.ExceptionSpec.SourceTemplate = in VisitFunctionProtoType()
1587 importChecked(Err, FromEPI.ExceptionSpec.SourceTemplate); in VisitFunctionProtoType()
1588 ToEPI.ExceptionSpec.Exceptions = ExceptionTypes; in VisitFunctionProtoType()
4116 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
4117 FromEPI.ExceptionSpec.SourceTemplate || in VisitFunctionDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h840 const Node *ExceptionSpec; variable
849 ExceptionSpec(ExceptionSpec_) {} in FunctionType()
852 F(Ret, Params, CVQuals, RefQual, ExceptionSpec); in match()
888 if (ExceptionSpec != nullptr) { in printRight()
890 ExceptionSpec->print(OB); in printRight()
3944 Node *ExceptionSpec = nullptr; in parseFunctionType() local
3946 ExceptionSpec = make<NameType>("noexcept"); in parseFunctionType()
3947 if (!ExceptionSpec) in parseFunctionType()
3953 ExceptionSpec = make<NoexceptSpec>(E); in parseFunctionType()
3954 if (!ExceptionSpec) in parseFunctionType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DDeclarationFragments.h232 getExceptionSpecificationString(ExceptionSpecificationType ExceptionSpec);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp5338 EPI.ExceptionSpec.Type != EST_None && in InitFunctionInstantiation()
5339 EPI.ExceptionSpec.Type != EST_DynamicNone && in InitFunctionInstantiation()
5340 EPI.ExceptionSpec.Type != EST_BasicNoexcept && in InitFunctionInstantiation()
5343 if (EPI.ExceptionSpec.Type == EST_Uninstantiated) in InitFunctionInstantiation()
5344 ExceptionSpecTemplate = EPI.ExceptionSpec.SourceTemplate; in InitFunctionInstantiation()
5346 if (EPI.ExceptionSpec.Type == EST_Unevaluated) in InitFunctionInstantiation()
5354 EPI.ExceptionSpec.Type = NewEST; in InitFunctionInstantiation()
5355 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
5356 EPI.ExceptionSpec.SourceTemplate = ExceptionSpecTemplate; in InitFunctionInstantiation()
H A DSemaExprCXX.cpp3491 EPI.ExceptionSpec.Type = EST_Dynamic; in DeclareGlobalAllocationFunction()
3492 EPI.ExceptionSpec.Exceptions = llvm::ArrayRef(BadAllocType); in DeclareGlobalAllocationFunction()
3495 EPI.ExceptionSpec.Type = EST_DynamicNone; in DeclareGlobalAllocationFunction()
3498 EPI.ExceptionSpec = in DeclareGlobalAllocationFunction()
6432 EPI1.ExceptionSpec = EPI2.ExceptionSpec = Context.mergeExceptionSpecs( in FindCompositePointerType()
6433 EPI1.ExceptionSpec, EPI2.ExceptionSpec, ExceptionTypeStorage, in FindCompositePointerType()
H A DSemaDeclCXX.cpp7669 EPI.ExceptionSpec.Type = EST_Unevaluated; in getImplicitMethodEPI()
7670 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI()
7940 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedSpecialMember()
7941 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember()
9196 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedComparison()
9197 EPI.ExceptionSpec.SourceDecl = FD; in CheckExplicitlyDefaultedComparison()
14283 EPI.ExceptionSpec.Type = EST_Unevaluated; in findInheritingConstructor()
14284 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor()
14596 EPI.ExceptionSpec.Type = EST_Unevaluated; in AdjustDestructorExceptionSpec()
14597 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
H A DSemaLambda.cpp1703 ConvExtInfo.ExceptionSpec.Type = EST_BasicNoexcept; in addFunctionPointerConversion()
H A DSemaTemplateDeduction.cpp4723 EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec; in adjustCCAndNoReturn()
H A DSemaTemplateInstantiate.cpp3128 Proto->getExtProtoInfo().ExceptionSpec; in SubstExceptionSpec()
H A DSemaLookup.cpp1211 EPI.ExceptionSpec = EST_None; in LookupDirect()
H A DSemaType.cpp5315 EPI.ExceptionSpec); in GetFullTypeForDeclarator()
H A DTreeTransform.h6483 if (TransformExceptionSpec(EPI.ExceptionSpec, EPIChanged)) in TransformFunctionProtoType()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp153 ExceptionSpecificationType ExceptionSpec) { in getExceptionSpecificationString() argument
155 switch (ExceptionSpec) { in getExceptionSpecificationString()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td362 epi.ExceptionSpec = exceptionSpecifier;
H A DType.h5271 ExceptionSpecInfo ExceptionSpec;
5286 Result.ExceptionSpec = ESI;
5297 return ExceptionSpec.Type == EST_Dynamic ||
5452 EPI.ExceptionSpec = getExceptionSpecInfo();
/freebsd/crypto/heimdal/lib/asn1/
H A DChangeLog670 * parse.y: Drop ExceptionSpec for now, its not used.
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2210 proto_info.ExceptionSpec = EST_None; in CreateFunctionType()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp10926 auto ESI = FPT->getExtProtoInfo().ExceptionSpec; in FinishedDeserializing()