clang 22.0.0git
clang::FunctionProtoType::ExceptionSpecInfo Struct Reference

Holds information about the various types of exception specification. More...

#include "clang/AST/TypeBase.h"

Public Member Functions

 ExceptionSpecInfo ()=default
 ExceptionSpecInfo (ExceptionSpecificationType EST)
void instantiate ()

Public Attributes

ExceptionSpecificationType Type = EST_None
 The kind of exception specification this is.
ArrayRef< QualTypeExceptions
 Explicitly-specified list of exception types.
ExprNoexceptExpr = nullptr
 Noexcept expression, if this is a computed noexcept specification.
FunctionDeclSourceDecl = nullptr
 The function whose exception specification this is, for EST_Unevaluated and EST_Uninstantiated.
FunctionDeclSourceTemplate = nullptr
 The function template whose exception specification this is instantiated from, for EST_Uninstantiated.

Detailed Description

Holds information about the various types of exception specification.

ExceptionSpecInfo is not stored as such in FunctionProtoType but is used to group together the various bits of information about the exception specification.

Definition at line 5321 of file TypeBase.h.

Constructor & Destructor Documentation

◆ ExceptionSpecInfo() [1/2]

clang::FunctionProtoType::ExceptionSpecInfo::ExceptionSpecInfo ( )
default

◆ ExceptionSpecInfo() [2/2]

clang::FunctionProtoType::ExceptionSpecInfo::ExceptionSpecInfo ( ExceptionSpecificationType EST)
inline

Definition at line 5341 of file TypeBase.h.

References Type.

Member Function Documentation

◆ instantiate()

void FunctionProtoType::ExceptionSpecInfo::instantiate ( )

Member Data Documentation

◆ Exceptions

◆ NoexceptExpr

◆ SourceDecl

◆ SourceTemplate

◆ Type


The documentation for this struct was generated from the following files: