clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::FunctionProtoType::ExceptionSpecInfo Struct Reference

#include "clang/AST/Type.h"

Collaboration diagram for clang::FunctionProtoType::ExceptionSpecInfo:
Collaboration graph
[legend]

Public Member Functions

 ExceptionSpecInfo ()=default
 
 ExceptionSpecInfo (ExceptionSpecificationType EST)
 

Public Attributes

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

Detailed Description

Definition at line 3365 of file Type.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 3385 of file Type.h.

Member Data Documentation

◆ Exceptions

ArrayRef<QualType> clang::FunctionProtoType::ExceptionSpecInfo::Exceptions

◆ NoexceptExpr

Expr* clang::FunctionProtoType::ExceptionSpecInfo::NoexceptExpr = nullptr

◆ SourceDecl

FunctionDecl* clang::FunctionProtoType::ExceptionSpecInfo::SourceDecl = nullptr

The function whose exception specification this is, for EST_Unevaluated and EST_Uninstantiated.

Definition at line 3377 of file Type.h.

Referenced by clang::Sema::AdjustDestructorExceptionSpec(), clang::FunctionProtoType::getExtProtoInfo(), getImplicitMethodEPI(), clang::TemplateDeclInstantiator::InitFunctionInstantiation(), and clang::FunctionProtoType::isTemplateVariadic().

◆ SourceTemplate

FunctionDecl* clang::FunctionProtoType::ExceptionSpecInfo::SourceTemplate = nullptr

The function template whose exception specification this is instantiated from, for EST_Uninstantiated.

Definition at line 3381 of file Type.h.

Referenced by clang::FunctionProtoType::getExtProtoInfo(), and clang::TemplateDeclInstantiator::InitFunctionInstantiation().

◆ Type

ExceptionSpecificationType clang::FunctionProtoType::ExceptionSpecInfo::Type = EST_None

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