class CXXNoexceptExpr

Declaration

class CXXNoexceptExpr : public Expr { /* full declaration omitted */ };

Description

Represents a C++11 noexcept expression (C++ [expr.unary.noexcept]). The noexcept expression tests whether a given expression might throw. Its result is a boolean constant.

Declared at: clang/include/clang/AST/ExprCXX.h:4014

Inherits from: Expr

Member Variables

private clang::Stmt* Operand
private clang::SourceRange Range

Inherited from Stmt:

protected

Method Overview

  • public CXXNoexceptExpr(clang::QualType Ty, clang::Expr * Operand, clang::CanThrowResult Val, clang::SourceLocation Keyword, clang::SourceLocation RParen)
  • public CXXNoexceptExpr(clang::Stmt::EmptyShell Empty)
  • public clang::Stmt::child_range children()
  • public clang::Stmt::const_child_range children() const
  • public static bool classof(const clang::Stmt * T)
  • public clang::SourceLocation getBeginLoc() const
  • public clang::SourceLocation getEndLoc() const
  • public clang::Expr * getOperand() const
  • public clang::SourceRange getSourceRange() const
  • public bool getValue() const

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXNoexceptExpr(clang::QualType Ty,
                clang::Expr* Operand,
                clang::CanThrowResult Val,
                clang::SourceLocation Keyword,
                clang::SourceLocation RParen)

Declared at: clang/include/clang/AST/ExprCXX.h:4021

Parameters

clang::QualType Ty
clang::Expr* Operand
clang::CanThrowResult Val
clang::SourceLocation Keyword
clang::SourceLocation RParen

CXXNoexceptExpr(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprCXX.h:4029

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprCXX.h:4044

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprCXX.h:4046

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprCXX.h:4039

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:4034

clang::Expr* getOperand() const

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

clang::SourceRange getSourceRange() const

Declared at: clang/include/clang/AST/ExprCXX.h:4035

bool getValue() const

Declared at: clang/include/clang/AST/ExprCXX.h:4037