reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Type.h
 3821       Result.ExceptionSpec = ESI;
 3943     EPI.ExceptionSpec.Type = getExceptionSpecType();
 3946     if (EPI.ExceptionSpec.Type == EST_Dynamic) {
 3947       EPI.ExceptionSpec.Exceptions = exceptions();
 3948     } else if (isComputedNoexcept(EPI.ExceptionSpec.Type)) {
 3949       EPI.ExceptionSpec.NoexceptExpr = getNoexceptExpr();
 3950     } else if (EPI.ExceptionSpec.Type == EST_Uninstantiated) {
 3951       EPI.ExceptionSpec.SourceDecl = getExceptionSpecDecl();
 3952       EPI.ExceptionSpec.SourceTemplate = getExceptionSpecTemplate();
 3953     } else if (EPI.ExceptionSpec.Type == EST_Unevaluated) {
 3954       EPI.ExceptionSpec.SourceDecl = getExceptionSpecDecl();
tools/clang/lib/AST/ASTContext.cpp
 3781     if (OnlyWantCanonical || !isComputedNoexcept(EPI.ExceptionSpec.Type) ||
 3782         EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr())
 3794       isCanonicalExceptionSpecification(EPI.ExceptionSpec, NoexceptInType);
 3823       switch (EPI.ExceptionSpec.Type) {
 3829         CanonicalEPI.ExceptionSpec.Type = EST_None;
 3836         for (QualType ET : EPI.ExceptionSpec.Exceptions) {
 3842           CanonicalEPI.ExceptionSpec.Type = EST_None;
 3844           CanonicalEPI.ExceptionSpec.Type = EST_Dynamic;
 3845           CanonicalEPI.ExceptionSpec.Exceptions = ExceptionTypeStorage;
 3854         CanonicalEPI.ExceptionSpec.Type = EST_BasicNoexcept;
 3861       CanonicalEPI.ExceptionSpec = FunctionProtoType::ExceptionSpecInfo();
 3878       EPI.ExceptionSpec.Type, EPI.ExceptionSpec.Exceptions.size());
 3878       EPI.ExceptionSpec.Type, EPI.ExceptionSpec.Exceptions.size());
 3883       NumArgs, FunctionProtoType::hasExtraBitfields(EPI.ExceptionSpec.Type),
 9752     EPI.ExceptionSpec.Type =
tools/clang/lib/AST/ASTImporter.cpp
 1217       FromEPI.ExceptionSpec.NoexceptExpr,
 1218       FromEPI.ExceptionSpec.SourceDecl,
 1219       FromEPI.ExceptionSpec.SourceTemplate);
 1228   ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type;
 1228   ToEPI.ExceptionSpec.Type = FromEPI.ExceptionSpec.Type;
 1229   ToEPI.ExceptionSpec.Exceptions = ExceptionTypes;
 1231       ToEPI.ExceptionSpec.NoexceptExpr,
 1232       ToEPI.ExceptionSpec.SourceDecl,
 1233       ToEPI.ExceptionSpec.SourceTemplate) = *Imp;
 3125     if (FromEPI.ExceptionSpec.SourceDecl ||
 3126         FromEPI.ExceptionSpec.SourceTemplate ||
 3127         FromEPI.ExceptionSpec.NoexceptExpr) {
tools/clang/lib/AST/JSONNodeDumper.cpp
  510   switch (E.ExceptionSpec.Type) {
  515     for (QualType QT : E.ExceptionSpec.Exceptions)
  530                 E.ExceptionSpec.Type == EST_NoexceptTrue);
tools/clang/lib/AST/TextNodeDumper.cpp
 1298     switch (EPI.ExceptionSpec.Type) {
 1302       OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl;
 1305       OS << " noexcept-uninstantiated " << EPI.ExceptionSpec.SourceTemplate;
tools/clang/lib/AST/Type.cpp
  989     if (info.ExceptionSpec.Type == EST_Dynamic) {
  991       for (auto exceptionType : info.ExceptionSpec.Exceptions) {
 1003         info.ExceptionSpec.Exceptions =
 1285     if (info.ExceptionSpec.Type == EST_Dynamic) {
 1287       for (auto exceptionType : info.ExceptionSpec.Exceptions) {
 1300         info.ExceptionSpec.Exceptions =
 2966   FunctionTypeBits.ExceptionSpecType = epi.ExceptionSpec.Type;
 2972   if (hasExtraBitfields(epi.ExceptionSpec.Type)) {
 2974     ExtraBits.NumExceptionType = epi.ExceptionSpec.Exceptions.size();
 2997     for (QualType ExceptionType : epi.ExceptionSpec.Exceptions) {
 3012     assert(epi.ExceptionSpec.NoexceptExpr && "computed noexcept with no expr");
 3014            epi.ExceptionSpec.NoexceptExpr->isValueDependent());
 3017     *getTrailingObjects<Expr *>() = epi.ExceptionSpec.NoexceptExpr;
 3019     if (epi.ExceptionSpec.NoexceptExpr->isValueDependent() ||
 3020         epi.ExceptionSpec.NoexceptExpr->isInstantiationDependent())
 3023     if (epi.ExceptionSpec.NoexceptExpr->containsUnexpandedParameterPack())
 3031     slot[0] = epi.ExceptionSpec.SourceDecl;
 3032     slot[1] = epi.ExceptionSpec.SourceTemplate;
 3039     slot[0] = epi.ExceptionSpec.SourceDecl;
 3161          !(unsigned(epi.ExceptionSpec.Type) & ~15) &&
 3165                 (epi.ExceptionSpec.Type << 3));
 3167   if (epi.ExceptionSpec.Type == EST_Dynamic) {
 3168     for (QualType Ex : epi.ExceptionSpec.Exceptions)
 3170   } else if (isComputedNoexcept(epi.ExceptionSpec.Type)) {
 3171     epi.ExceptionSpec.NoexceptExpr->Profile(ID, Context, Canonical);
 3172   } else if (epi.ExceptionSpec.Type == EST_Uninstantiated ||
 3173              epi.ExceptionSpec.Type == EST_Unevaluated) {
 3174     ID.AddPointer(epi.ExceptionSpec.SourceDecl->getCanonicalDecl());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 6808   EPI.ExceptionSpec.Type = EST_Unevaluated;
 6809   EPI.ExceptionSpec.SourceDecl = MD;
 7011       EPI.ExceptionSpec.Type = EST_Unevaluated;
 7012       EPI.ExceptionSpec.SourceDecl = MD;
11589   EPI.ExceptionSpec.Type = EST_Unevaluated;
11590   EPI.ExceptionSpec.SourceDecl = DerivedCtor;
11883   EPI.ExceptionSpec.Type = EST_Unevaluated;
11884   EPI.ExceptionSpec.SourceDecl = Destructor;
tools/clang/lib/Sema/SemaExprCXX.cpp
 2806       EPI.ExceptionSpec.Type = EST_Dynamic;
 2807       EPI.ExceptionSpec.Exceptions = llvm::makeArrayRef(BadAllocType);
 2810     EPI.ExceptionSpec =
 6261         EPI1.ExceptionSpec = EPI2.ExceptionSpec =
 6261         EPI1.ExceptionSpec = EPI2.ExceptionSpec =
 6262             mergeExceptionSpecs(*this, EPI1.ExceptionSpec, EPI2.ExceptionSpec,
 6262             mergeExceptionSpecs(*this, EPI1.ExceptionSpec, EPI2.ExceptionSpec,
tools/clang/lib/Sema/SemaLambda.cpp
 1300   ConvExtInfo.ExceptionSpec.Type = EST_BasicNoexcept;
tools/clang/lib/Sema/SemaLookup.cpp
 1081     EPI.ExceptionSpec = EST_None;
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3124             Function->getLocation(), EPI.ExceptionSpec, ExceptionStorage,
 3986     EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec;
 3986     EPI.ExceptionSpec = FunctionTypeP->getExtProtoInfo().ExceptionSpec;
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1795       Proto->getExtProtoInfo().ExceptionSpec;
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4064         EPI.ExceptionSpec.Type != EST_None &&
 4065         EPI.ExceptionSpec.Type != EST_DynamicNone &&
 4066         EPI.ExceptionSpec.Type != EST_BasicNoexcept &&
 4069       if (EPI.ExceptionSpec.Type == EST_Uninstantiated)
 4070         ExceptionSpecTemplate = EPI.ExceptionSpec.SourceTemplate;
 4072       if (EPI.ExceptionSpec.Type == EST_Unevaluated)
 4080       EPI.ExceptionSpec.Type = NewEST;
 4081       EPI.ExceptionSpec.SourceDecl = New;
 4082       EPI.ExceptionSpec.SourceTemplate = ExceptionSpecTemplate;
tools/clang/lib/Sema/SemaType.cpp
 4919                                       EPI.ExceptionSpec);
tools/clang/lib/Sema/TreeTransform.h
 5439   if (TransformExceptionSpec(EPI.ExceptionSpec, EPIChanged))
tools/clang/lib/Serialization/ASTReader.cpp
 6523     readExceptionSpec(*Loc.F, ExceptionStorage, EPI.ExceptionSpec, Record, Idx);
12159         auto ESI = FPT->getExtProtoInfo().ExceptionSpec;
tools/lldb/source/Symbol/ClangASTContext.cpp
 2114   proto_info.ExceptionSpec = EST_None;