clang API Documentation

Public Member Functions
clang::Sema::ImplicitExceptionSpecification Class Reference

Helper class that collects exception specifications for implicitly-declared special member functions. More...

#include <Sema.h>

List of all members.

Public Member Functions

 ImplicitExceptionSpecification (Sema &Self)
ExceptionSpecificationType getExceptionSpecType () const
 Get the computed exception specification type.
unsigned size () const
 The number of exceptions in the exception specification.
const QualTypedata () const
 The set of exceptions in the exception specification.
void CalledDecl (SourceLocation CallLoc, CXXMethodDecl *Method)
 Integrate another called method into the collected data.
void CalledExpr (Expr *E)
 Integrate an invoked expression into the collected data.
void SetDelayed ()
 Specify that the exception specification can't be detemined yet.
bool isDelayed ()
 Have we been unable to compute this exception specification?
void getEPI (FunctionProtoType::ExtProtoInfo &EPI) const
 Overwrite an EPI's exception specification with this computed exception specification.
FunctionProtoType::ExtProtoInfo getEPI () const

Detailed Description

Helper class that collects exception specifications for implicitly-declared special member functions.

Definition at line 3255 of file Sema.h.


Constructor & Destructor Documentation

clang::Sema::ImplicitExceptionSpecification::ImplicitExceptionSpecification ( Sema Self) [inline, explicit]

Member Function Documentation

void Sema::ImplicitExceptionSpecification::CalledDecl ( SourceLocation  CallLoc,
CXXMethodDecl Method 
)
void Sema::ImplicitExceptionSpecification::CalledExpr ( Expr E)

Integrate an invoked expression into the collected data.

Definition at line 199 of file SemaDeclCXX.cpp.

References clang::EST_Delayed, clang::EST_MSAny, and clang::EST_None.

Referenced by clang::Sema::ComputeDefaultedDefaultCtorExceptionSpec().

const QualType* clang::Sema::ImplicitExceptionSpecification::data ( ) const [inline]

The set of exceptions in the exception specification.

Definition at line 3298 of file Sema.h.

Referenced by clang::Sema::AdjustDestructorExceptionSpec(), and getEPI().

void clang::Sema::ImplicitExceptionSpecification::getEPI ( FunctionProtoType::ExtProtoInfo EPI) const [inline]
FunctionProtoType::ExtProtoInfo clang::Sema::ImplicitExceptionSpecification::getEPI ( ) const [inline]

Definition at line 3324 of file Sema.h.

ExceptionSpecificationType clang::Sema::ImplicitExceptionSpecification::getExceptionSpecType ( ) const [inline]

Get the computed exception specification type.

Definition at line 3288 of file Sema.h.

References clang::EST_ComputedNoexcept.

Referenced by clang::Sema::AdjustDestructorExceptionSpec(), and getEPI().

bool clang::Sema::ImplicitExceptionSpecification::isDelayed ( ) [inline]

Have we been unable to compute this exception specification?

Definition at line 3313 of file Sema.h.

References clang::EST_Delayed.

void clang::Sema::ImplicitExceptionSpecification::SetDelayed ( ) [inline]

Specify that the exception specification can't be detemined yet.

Definition at line 3307 of file Sema.h.

References clang::EST_Delayed.

Referenced by clang::Sema::ComputeDefaultedDefaultCtorExceptionSpec().

unsigned clang::Sema::ImplicitExceptionSpecification::size ( ) const [inline]

The number of exceptions in the exception specification.

Definition at line 3295 of file Sema.h.

Referenced by clang::Sema::AdjustDestructorExceptionSpec(), and getEPI().


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