Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1141 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionProtoType()
1143 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in VisitFunctionProtoType()
1155 info.ExceptionSpec.Exceptions = in VisitFunctionProtoType()
1445 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionType()
1447 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in VisitFunctionType()
1460 info.ExceptionSpec.Exceptions = in VisitFunctionType()
3534 FunctionTypeBits.ExceptionSpecType = epi.ExceptionSpec.Type; in FunctionProtoType()
3575 size_t NumExceptions = epi.ExceptionSpec.Exceptions.size(); in FunctionProtoType()
3583 for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) { in FunctionProtoType()
3596 assert(epi.ExceptionSpec.NoexceptExpr && "computed noexcept with no expr"); in FunctionProtoType()
[all …]
H A DTextNodeDumper.cpp1902 switch (EPI.ExceptionSpec.Type) { in VisitFunctionProtoType()
1939 if (!EPI.ExceptionSpec.Exceptions.empty()) { in VisitFunctionProtoType()
1942 for (unsigned I = 0, N = EPI.ExceptionSpec.Exceptions.size(); I != N; in VisitFunctionProtoType()
1946 dumpType(EPI.ExceptionSpec.Exceptions[I]); in VisitFunctionProtoType()
1950 if (EPI.ExceptionSpec.NoexceptExpr) { in VisitFunctionProtoType()
1953 Visit(EPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
1956 dumpDeclRef(EPI.ExceptionSpec.SourceDecl, "ExceptionSourceDecl"); in VisitFunctionProtoType()
1957 dumpDeclRef(EPI.ExceptionSpec.SourceTemplate, "ExceptionSourceTemplate"); in VisitFunctionProtoType()
2136 switch (EPI.ExceptionSpec.Type) { in VisitFunctionDecl()
2140 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
[all …]
H A DJSONNodeDumper.cpp636 switch (E.ExceptionSpec.Type) { in VisitFunctionProtoType()
641 for (QualType QT : E.ExceptionSpec.Exceptions) in VisitFunctionProtoType()
656 E.ExceptionSpec.Type == EST_NoexceptTrue); in VisitFunctionProtoType()
H A DASTContext.cpp4803 if (OnlyWantCanonical || !isComputedNoexcept(EPI.ExceptionSpec.Type) || in getFunctionTypeInternal()
4804 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
4816 isCanonicalExceptionSpecification(EPI.ExceptionSpec, NoexceptInType); in getFunctionTypeInternal()
4845 switch (EPI.ExceptionSpec.Type) { in getFunctionTypeInternal()
4851 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
4858 for (QualType ET : EPI.ExceptionSpec.Exceptions) { in getFunctionTypeInternal()
4864 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
4866 CanonicalEPI.ExceptionSpec.Type = EST_Dynamic; in getFunctionTypeInternal()
4867 CanonicalEPI.ExceptionSpec.Exceptions = ExceptionTypeStorage; in getFunctionTypeInternal()
4876 CanonicalEPI.ExceptionSpec.Type = EST_BasicNoexcept; in getFunctionTypeInternal()
[all …]
H A DASTImporter.cpp1350 ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type; in VisitFunctionProtoType()
1351 ToEPI.ExceptionSpec.NoexceptExpr = in VisitFunctionProtoType()
1352 importChecked(Err, FromEPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
1353 ToEPI.ExceptionSpec.SourceDecl = in VisitFunctionProtoType()
1354 importChecked(Err, FromEPI.ExceptionSpec.SourceDecl); in VisitFunctionProtoType()
1355 ToEPI.ExceptionSpec.SourceTemplate = in VisitFunctionProtoType()
1356 importChecked(Err, FromEPI.ExceptionSpec.SourceTemplate); in VisitFunctionProtoType()
1357 ToEPI.ExceptionSpec.Exceptions = ExceptionTypes; in VisitFunctionProtoType()
3847 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
3848 FromEPI.ExceptionSpec.SourceTemplate || in VisitFunctionDecl()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h804 const Node *ExceptionSpec; variable
813 ExceptionSpec(ExceptionSpec_) {} in FunctionType()
816 F(Ret, Params, CVQuals, RefQual, ExceptionSpec); in match()
852 if (ExceptionSpec != nullptr) { in printRight()
854 ExceptionSpec->print(OB); in printRight()
3804 Node *ExceptionSpec = nullptr; in parseFunctionType() local
3806 ExceptionSpec = make<NameType>("noexcept"); in parseFunctionType()
3807 if (!ExceptionSpec) in parseFunctionType()
3813 ExceptionSpec = make<NoexceptSpec>(E); in parseFunctionType()
3814 if (!ExceptionSpec) in parseFunctionType()
[all …]
/src/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DDeclarationFragments.h232 getExceptionSpecificationString(ExceptionSpecificationType ExceptionSpec);
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp4778 EPI.ExceptionSpec.Type != EST_None && in InitFunctionInstantiation()
4779 EPI.ExceptionSpec.Type != EST_DynamicNone && in InitFunctionInstantiation()
4780 EPI.ExceptionSpec.Type != EST_BasicNoexcept && in InitFunctionInstantiation()
4783 if (EPI.ExceptionSpec.Type == EST_Uninstantiated) in InitFunctionInstantiation()
4784 ExceptionSpecTemplate = EPI.ExceptionSpec.SourceTemplate; in InitFunctionInstantiation()
4786 if (EPI.ExceptionSpec.Type == EST_Unevaluated) in InitFunctionInstantiation()
4794 EPI.ExceptionSpec.Type = NewEST; in InitFunctionInstantiation()
4795 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
4796 EPI.ExceptionSpec.SourceTemplate = ExceptionSpecTemplate; in InitFunctionInstantiation()
H A DSemaExprCXX.cpp3179 EPI.ExceptionSpec.Type = EST_Dynamic; in DeclareGlobalAllocationFunction()
3180 EPI.ExceptionSpec.Exceptions = llvm::ArrayRef(BadAllocType); in DeclareGlobalAllocationFunction()
3183 EPI.ExceptionSpec.Type = EST_DynamicNone; in DeclareGlobalAllocationFunction()
3186 EPI.ExceptionSpec = in DeclareGlobalAllocationFunction()
7411 EPI1.ExceptionSpec = EPI2.ExceptionSpec = Context.mergeExceptionSpecs( in FindCompositePointerType()
7412 EPI1.ExceptionSpec, EPI2.ExceptionSpec, ExceptionTypeStorage, in FindCompositePointerType()
H A DSemaDeclCXX.cpp7512 EPI.ExceptionSpec.Type = EST_Unevaluated; in getImplicitMethodEPI()
7513 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI()
7772 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedSpecialMember()
7773 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember()
9017 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedComparison()
9018 EPI.ExceptionSpec.SourceDecl = FD; in CheckExplicitlyDefaultedComparison()
13992 EPI.ExceptionSpec.Type = EST_Unevaluated; in findInheritingConstructor()
13993 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor()
14305 EPI.ExceptionSpec.Type = EST_Unevaluated; in AdjustDestructorExceptionSpec()
14306 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
H A DSemaLambda.cpp1678 ConvExtInfo.ExceptionSpec.Type = EST_BasicNoexcept; in addFunctionPointerConversion()
H A DSemaTemplateDeduction.cpp4612 EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec; in adjustCCAndNoReturn()
H A DSemaTemplateInstantiate.cpp2940 Proto->getExtProtoInfo().ExceptionSpec; in SubstExceptionSpec()
H A DSemaLookup.cpp1196 EPI.ExceptionSpec = EST_None; in LookupDirect()
H A DSemaType.cpp5237 EPI.ExceptionSpec); in GetFullTypeForDeclarator()
H A DTreeTransform.h6256 if (TransformExceptionSpec(EPI.ExceptionSpec, EPIChanged)) in TransformFunctionProtoType()
/src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp153 ExceptionSpecificationType ExceptionSpec) { in getExceptionSpecificationString() argument
155 switch (ExceptionSpec) { in getExceptionSpecificationString()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td373 epi.ExceptionSpec = exceptionSpecifier;
H A DType.h5065 ExceptionSpecInfo ExceptionSpec;
5080 Result.ExceptionSpec = ESI;
5085 return ExceptionSpec.Type == EST_Dynamic ||
5243 EPI.ExceptionSpec = getExceptionSpecInfo();
/src/crypto/heimdal/lib/asn1/
H A DChangeLog670 * parse.y: Drop ExceptionSpec for now, its not used.
/src/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2194 proto_info.ExceptionSpec = EST_None; in CreateFunctionType()
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp10301 auto ESI = FPT->getExtProtoInfo().ExceptionSpec; in FinishedDeserializing()