struct FunctionProtoType::ExceptionSpecInfo

Declaration

struct FunctionProtoType::ExceptionSpecInfo { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/AST/Type.h:4013

Member Variables

public clang::ExceptionSpecificationType Type = EST_None
The kind of exception specification this is.
public ArrayRef<clang::QualType> Exceptions
Explicitly-specified list of exception types.
public clang::Expr* NoexceptExpr = nullptr
Noexcept expression, if this is a computed noexcept specification.
public clang::FunctionDecl* SourceDecl = nullptr
The function whose exception specification this is, for EST_Unevaluated and EST_Uninstantiated.
public clang::FunctionDecl* SourceTemplate = nullptr
The function template whose exception specification this is instantiated from, for EST_Uninstantiated.

Method Overview

Methods

ExceptionSpecInfo()

Declared at: clang/include/clang/AST/Type.h:4031

ExceptionSpecInfo(
    clang::ExceptionSpecificationType EST)

Declared at: clang/include/clang/AST/Type.h:4033

Parameters

clang::ExceptionSpecificationType EST