Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp921 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionProtoType()
935 info.ExceptionSpec.Exceptions = in VisitFunctionProtoType()
1247 if (info.ExceptionSpec.Type == EST_Dynamic) { in substObjCTypeArgs()
1265 info.ExceptionSpec.Exceptions = in substObjCTypeArgs()
2864 if (hasExtraBitfields(epi.ExceptionSpec.Type)) { in FunctionProtoType()
2923 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()
2924 slot[1] = epi.ExceptionSpec.SourceTemplate; in FunctionProtoType()
2931 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()
3056 (epi.ExceptionSpec.Type << 3)); in Profile()
3058 if (epi.ExceptionSpec.Type == EST_Dynamic) { in Profile()
[all …]
H A DASTDumper.cpp604 switch (EPI.ExceptionSpec.Type) { in VisitFunctionDecl()
607 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
610 OS << " noexcept-uninstantiated " << EPI.ExceptionSpec.SourceTemplate; in VisitFunctionDecl()
H A DASTContext.cpp3674 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
3715 switch (EPI.ExceptionSpec.Type) { in getFunctionTypeInternal()
3721 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
3728 for (QualType ET : EPI.ExceptionSpec.Exceptions) { in getFunctionTypeInternal()
3734 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
3736 CanonicalEPI.ExceptionSpec.Type = EST_Dynamic; in getFunctionTypeInternal()
3737 CanonicalEPI.ExceptionSpec.Exceptions = ExceptionTypeStorage; in getFunctionTypeInternal()
3743 CanonicalEPI.ExceptionSpec.Type = EST_BasicNoexcept; in getFunctionTypeInternal()
3750 CanonicalEPI.ExceptionSpec = FunctionProtoType::ExceptionSpecInfo(); in getFunctionTypeInternal()
3767 EPI.ExceptionSpec.Type, EPI.ExceptionSpec.Exceptions.size()); in getFunctionTypeInternal()
[all …]
H A DASTImporter.cpp1202 FromEPI.ExceptionSpec.NoexceptExpr, in VisitFunctionProtoType()
1203 FromEPI.ExceptionSpec.SourceDecl, in VisitFunctionProtoType()
1204 FromEPI.ExceptionSpec.SourceTemplate); in VisitFunctionProtoType()
1213 ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type; in VisitFunctionProtoType()
1214 ToEPI.ExceptionSpec.Exceptions = ExceptionTypes; in VisitFunctionProtoType()
1216 ToEPI.ExceptionSpec.NoexceptExpr, in VisitFunctionProtoType()
1217 ToEPI.ExceptionSpec.SourceDecl, in VisitFunctionProtoType()
1218 ToEPI.ExceptionSpec.SourceTemplate) = *Imp; in VisitFunctionProtoType()
3056 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
3057 FromEPI.ExceptionSpec.SourceTemplate || in VisitFunctionDecl()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h671 const Node *ExceptionSpec; variable
680 ExceptionSpec(ExceptionSpec_) {} in FunctionType()
719 if (ExceptionSpec != nullptr) { in printRight()
721 ExceptionSpec->print(S); in printRight()
3204 Node *ExceptionSpec = nullptr; in parseFunctionType() local
3206 ExceptionSpec = make<NameType>("noexcept"); in parseFunctionType()
3207 if (!ExceptionSpec) in parseFunctionType()
3213 ExceptionSpec = make<NoexceptSpec>(E); in parseFunctionType()
3214 if (!ExceptionSpec) in parseFunctionType()
3224 ExceptionSpec = in parseFunctionType()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h3773 ExceptionSpecInfo ExceptionSpec;
3783 Result.ExceptionSpec = ESI;
3904 EPI.ExceptionSpec.Type = getExceptionSpecType();
3907 if (EPI.ExceptionSpec.Type == EST_Dynamic) {
3908 EPI.ExceptionSpec.Exceptions = exceptions();
3909 } else if (isComputedNoexcept(EPI.ExceptionSpec.Type)) {
3910 EPI.ExceptionSpec.NoexceptExpr = getNoexceptExpr();
3911 } else if (EPI.ExceptionSpec.Type == EST_Uninstantiated) {
3912 EPI.ExceptionSpec.SourceDecl = getExceptionSpecDecl();
3914 } else if (EPI.ExceptionSpec.Type == EST_Unevaluated) {
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3753 EPI.ExceptionSpec.Type != EST_None && in InitFunctionInstantiation()
3754 EPI.ExceptionSpec.Type != EST_DynamicNone && in InitFunctionInstantiation()
3755 EPI.ExceptionSpec.Type != EST_BasicNoexcept && in InitFunctionInstantiation()
3758 if (EPI.ExceptionSpec.Type == EST_Uninstantiated) in InitFunctionInstantiation()
3759 ExceptionSpecTemplate = EPI.ExceptionSpec.SourceTemplate; in InitFunctionInstantiation()
3761 if (EPI.ExceptionSpec.Type == EST_Unevaluated) in InitFunctionInstantiation()
3769 EPI.ExceptionSpec.Type = NewEST; in InitFunctionInstantiation()
3770 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
3771 EPI.ExceptionSpec.SourceTemplate = ExceptionSpecTemplate; in InitFunctionInstantiation()
H A DSemaExprCXX.cpp2811 EPI.ExceptionSpec.Type = EST_Dynamic; in DeclareGlobalAllocationFunction()
2812 EPI.ExceptionSpec.Exceptions = llvm::makeArrayRef(BadAllocType); in DeclareGlobalAllocationFunction()
2815 EPI.ExceptionSpec = in DeclareGlobalAllocationFunction()
6238 EPI1.ExceptionSpec = EPI2.ExceptionSpec = in FindCompositePointerType()
6239 mergeExceptionSpecs(*this, EPI1.ExceptionSpec, EPI2.ExceptionSpec, in FindCompositePointerType()
H A DSemaDeclCXX.cpp6465 EPI.ExceptionSpec.Type = EST_Unevaluated; in getImplicitMethodEPI()
6466 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI()
6662 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedSpecialMember()
6663 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember()
6717 EPI.ExceptionSpec = IES.getExceptionSpec(); in CheckExplicitlyDefaultedMemberExceptionSpec()
11088 EPI.ExceptionSpec.Type = EST_Unevaluated; in findInheritingConstructor()
11089 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor()
11363 EPI.ExceptionSpec.Type = EST_Unevaluated; in AdjustDestructorExceptionSpec()
11364 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
H A DSemaTemplateDeduction.cpp3118 Function->getLocation(), EPI.ExceptionSpec, ExceptionStorage, in SubstituteExplicitTemplateArguments()
3978 EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec; in adjustCCAndNoReturn()
H A DSemaTemplateInstantiate.cpp1721 Proto->getExtProtoInfo().ExceptionSpec; in SubstExceptionSpec()
H A DSemaLookup.cpp914 EPI.ExceptionSpec = EST_None; in LookupDirect()
H A DSemaType.cpp4829 EPI.ExceptionSpec); in GetFullTypeForDeclarator()
H A DTreeTransform.h5321 if (TransformExceptionSpec(EPI.ExceptionSpec, EPIChanged)) in TransformFunctionProtoType()
/freebsd-12.1/crypto/heimdal/lib/asn1/
H A DChangeLog670 * parse.y: Drop ExceptionSpec for now, its not used.
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp6056 readExceptionSpec(*Loc.F, ExceptionStorage, EPI.ExceptionSpec, Record, Idx); in readTypeRecord()
11549 auto ESI = FPT->getExtProtoInfo().ExceptionSpec; in FinishedDeserializing()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2207 proto_info.ExceptionSpec = EST_None; in CreateFunctionType()