class Sema::ImplicitExceptionSpecification

Declaration

class Sema::ImplicitExceptionSpecification { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Sema/Sema.h:6123

Member Variables

private clang::Sema* Self
private clang::ExceptionSpecificationType ComputedEST
private llvm::SmallPtrSet<CanQualType, 4> ExceptionsSeen
private SmallVector<clang::QualType, 4> Exceptions

Method Overview

Methods

void CalledDecl(
    clang::SourceLocation CallLoc,
    const clang::CXXMethodDecl* Method)

Description

Integrate another called method into the collected data.

Declared at: clang/include/clang/Sema/Sema.h:6162

Parameters

clang::SourceLocation CallLoc
const clang::CXXMethodDecl* Method

void CalledExpr(clang::Expr* E)

Description

Integrate an invoked expression into the collected data.

Declared at: clang/include/clang/Sema/Sema.h:6165

Parameters

clang::Expr* E

void CalledStmt(clang::Stmt* S)

Description

Integrate an invoked statement into the collected data.

Declared at: clang/include/clang/Sema/Sema.h:6168

Parameters

clang::Stmt* S

void ClearExceptions()

Declared at: clang/include/clang/Sema/Sema.h:6136

ImplicitExceptionSpecification(clang::Sema& Self)

Declared at: clang/include/clang/Sema/Sema.h:6142

Parameters

clang::Sema& Self

const clang::QualType* data() const

Description

The set of exceptions in the exception specification.

Declared at: clang/include/clang/Sema/Sema.h:6159

FunctionProtoType::ExceptionSpecInfo
getExceptionSpec() const

Description

Overwrite an EPI's exception specification with this computed exception specification.

Declared at: clang/include/clang/Sema/Sema.h:6172

clang::ExceptionSpecificationType
getExceptionSpecType() const

Description

Get the computed exception specification type.

Declared at: clang/include/clang/Sema/Sema.h:6149

unsigned int size() const

Description

The number of exceptions in the exception specification.

Declared at: clang/include/clang/Sema/Sema.h:6156