Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp1061 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionProtoType()
1075 info.ExceptionSpec.Exceptions = in VisitFunctionProtoType()
1356 if (info.ExceptionSpec.Type == EST_Dynamic) { in VisitFunctionType()
1371 info.ExceptionSpec.Exceptions = in VisitFunctionType()
3271 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()
3272 slot[1] = epi.ExceptionSpec.SourceTemplate; in FunctionProtoType()
3279 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()
3407 !(unsigned(epi.ExceptionSpec.Type) & ~15) && in Profile()
3411 (epi.ExceptionSpec.Type << 3)); in Profile()
3413 if (epi.ExceptionSpec.Type == EST_Dynamic) { in Profile()
[all …]
H A DJSONNodeDumper.cpp556 switch (E.ExceptionSpec.Type) { in VisitFunctionProtoType()
561 for (QualType QT : E.ExceptionSpec.Exceptions) in VisitFunctionProtoType()
576 E.ExceptionSpec.Type == EST_NoexceptTrue); in VisitFunctionProtoType()
H A DTextNodeDumper.cpp1689 switch (EPI.ExceptionSpec.Type) { in VisitFunctionDecl()
1693 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
1696 OS << " noexcept-uninstantiated " << EPI.ExceptionSpec.SourceTemplate; in VisitFunctionDecl()
H A DASTContext.cpp4378 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
4419 switch (EPI.ExceptionSpec.Type) { in getFunctionTypeInternal()
4425 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
4432 for (QualType ET : EPI.ExceptionSpec.Exceptions) { in getFunctionTypeInternal()
4438 CanonicalEPI.ExceptionSpec.Type = EST_None; in getFunctionTypeInternal()
4440 CanonicalEPI.ExceptionSpec.Type = EST_Dynamic; in getFunctionTypeInternal()
4441 CanonicalEPI.ExceptionSpec.Exceptions = ExceptionTypeStorage; in getFunctionTypeInternal()
4450 CanonicalEPI.ExceptionSpec.Type = EST_BasicNoexcept; in getFunctionTypeInternal()
4457 CanonicalEPI.ExceptionSpec = FunctionProtoType::ExceptionSpecInfo(); in getFunctionTypeInternal()
4474 EPI.ExceptionSpec.Type, EPI.ExceptionSpec.Exceptions.size()); in getFunctionTypeInternal()
[all …]
H A DASTImporter.cpp1325 ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type; in VisitFunctionProtoType()
1326 ToEPI.ExceptionSpec.NoexceptExpr = in VisitFunctionProtoType()
1327 importChecked(Err, FromEPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
1328 ToEPI.ExceptionSpec.SourceDecl = in VisitFunctionProtoType()
1329 importChecked(Err, FromEPI.ExceptionSpec.SourceDecl); in VisitFunctionProtoType()
1330 ToEPI.ExceptionSpec.SourceTemplate = in VisitFunctionProtoType()
1331 importChecked(Err, FromEPI.ExceptionSpec.SourceTemplate); in VisitFunctionProtoType()
1332 ToEPI.ExceptionSpec.Exceptions = ExceptionTypes; in VisitFunctionProtoType()
3460 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
3461 FromEPI.ExceptionSpec.SourceTemplate || in VisitFunctionDecl()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h770 const Node *ExceptionSpec; variable
779 ExceptionSpec(ExceptionSpec_) {} in FunctionType()
818 if (ExceptionSpec != nullptr) { in printRight()
820 ExceptionSpec->print(OB); in printRight()
3489 Node *ExceptionSpec = nullptr; in parseFunctionType() local
3491 ExceptionSpec = make<NameType>("noexcept"); in parseFunctionType()
3492 if (!ExceptionSpec) in parseFunctionType()
3498 ExceptionSpec = make<NoexceptSpec>(E); in parseFunctionType()
3499 if (!ExceptionSpec) in parseFunctionType()
3509 ExceptionSpec = in parseFunctionType()
[all …]
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DItaniumDemangle.h770 const Node *ExceptionSpec; variable
779 ExceptionSpec(ExceptionSpec_) {} in FunctionType()
818 if (ExceptionSpec != nullptr) { in printRight()
820 ExceptionSpec->print(OB); in printRight()
3489 Node *ExceptionSpec = nullptr; in parseFunctionType() local
3491 ExceptionSpec = make<NameType>("noexcept"); in parseFunctionType()
3492 if (!ExceptionSpec) in parseFunctionType()
3498 ExceptionSpec = make<NoexceptSpec>(E); in parseFunctionType()
3499 if (!ExceptionSpec) in parseFunctionType()
3509 ExceptionSpec = in parseFunctionType()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp4664 EPI.ExceptionSpec.Type != EST_None && in InitFunctionInstantiation()
4665 EPI.ExceptionSpec.Type != EST_DynamicNone && in InitFunctionInstantiation()
4666 EPI.ExceptionSpec.Type != EST_BasicNoexcept && in InitFunctionInstantiation()
4669 if (EPI.ExceptionSpec.Type == EST_Uninstantiated) in InitFunctionInstantiation()
4670 ExceptionSpecTemplate = EPI.ExceptionSpec.SourceTemplate; in InitFunctionInstantiation()
4672 if (EPI.ExceptionSpec.Type == EST_Unevaluated) in InitFunctionInstantiation()
4680 EPI.ExceptionSpec.Type = NewEST; in InitFunctionInstantiation()
4681 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
4682 EPI.ExceptionSpec.SourceTemplate = ExceptionSpecTemplate; in InitFunctionInstantiation()
H A DSemaExprCXX.cpp3086 EPI.ExceptionSpec.Type = EST_Dynamic; in DeclareGlobalAllocationFunction()
3087 EPI.ExceptionSpec.Exceptions = llvm::makeArrayRef(BadAllocType); in DeclareGlobalAllocationFunction()
3090 EPI.ExceptionSpec.Type = EST_DynamicNone; in DeclareGlobalAllocationFunction()
3093 EPI.ExceptionSpec = in DeclareGlobalAllocationFunction()
7050 EPI1.ExceptionSpec = EPI2.ExceptionSpec = in FindCompositePointerType()
7051 mergeExceptionSpecs(*this, EPI1.ExceptionSpec, EPI2.ExceptionSpec, in FindCompositePointerType()
H A DSemaDeclCXX.cpp7368 EPI.ExceptionSpec.Type = EST_Unevaluated; in getImplicitMethodEPI()
7369 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI()
7576 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedSpecialMember()
7577 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember()
8749 EPI.ExceptionSpec.Type = EST_Unevaluated; in CheckExplicitlyDefaultedComparison()
8750 EPI.ExceptionSpec.SourceDecl = FD; in CheckExplicitlyDefaultedComparison()
13572 EPI.ExceptionSpec.Type = EST_Unevaluated; in findInheritingConstructor()
13573 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor()
13885 EPI.ExceptionSpec.Type = EST_Unevaluated; in AdjustDestructorExceptionSpec()
13886 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
H A DSemaTemplateDeduction.cpp3243 Function->getLocation(), EPI.ExceptionSpec, ExceptionStorage, in SubstituteExplicitTemplateArguments()
4130 EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec; in adjustCCAndNoReturn()
H A DSemaLambda.cpp1375 ConvExtInfo.ExceptionSpec.Type = EST_BasicNoexcept; in addFunctionPointerConversion()
H A DSemaTemplateInstantiate.cpp2251 Proto->getExtProtoInfo().ExceptionSpec; in SubstExceptionSpec()
H A DSemaLookup.cpp1179 EPI.ExceptionSpec = EST_None; in LookupDirect()
H A DSemaType.cpp5464 EPI.ExceptionSpec); in GetFullTypeForDeclarator()
H A DTreeTransform.h5961 if (TransformExceptionSpec(EPI.ExceptionSpec, EPIChanged)) in TransformFunctionProtoType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td338 epi.ExceptionSpec = exceptionSpecifier;
H A DType.h4045 ExceptionSpecInfo ExceptionSpec;
4056 Result.ExceptionSpec = ESI;
4061 return ExceptionSpec.Type == EST_Dynamic;
4184 EPI.ExceptionSpec = getExceptionSpecInfo();
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp6305 EXPECT_EQ(FromEPI.ExceptionSpec.Type, EST_Unevaluated); in TEST_P()
6306 EXPECT_EQ(FromEPI.ExceptionSpec.SourceDecl, FromCtor); in TEST_P()
6317 EXPECT_EQ(ToEPI.ExceptionSpec.Type, EST_Unevaluated); in TEST_P()
6318 EXPECT_EQ(ToEPI.ExceptionSpec.SourceDecl, ToCtor); in TEST_P()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2202 proto_info.ExceptionSpec = EST_None; in CreateFunctionType()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp11374 auto ESI = FPT->getExtProtoInfo().ExceptionSpec; in FinishedDeserializing()