clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::CXXNoexceptExpr Class Reference

Represents a C++11 noexcept expression (C++ [expr.unary.noexcept]). More...

#include <ExprCXX.h>

Inheritance diagram for clang::CXXNoexceptExpr:
Inheritance graph
[legend]
Collaboration diagram for clang::CXXNoexceptExpr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CXXNoexceptExpr (QualType Ty, Expr *Operand, CanThrowResult Val, SourceLocation Keyword, SourceLocation RParen)
 CXXNoexceptExpr (EmptyShell Empty)
ExprgetOperand () const
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
SourceRange getSourceRange () const LLVM_READONLY
bool getValue () const
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTStmtReader

Detailed 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.

Definition at line 3323 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::CXXNoexceptExpr::CXXNoexceptExpr ( QualType  Ty,
Expr Operand,
CanThrowResult  Val,
SourceLocation  Keyword,
SourceLocation  RParen 
) [inline]

Definition at line 3331 of file ExprCXX.h.

Definition at line 3341 of file ExprCXX.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 3358 of file ExprCXX.h.

static bool clang::CXXNoexceptExpr::classof ( const Stmt T) [inline, static]

Reimplemented from clang::Expr.

Definition at line 3353 of file ExprCXX.h.

References clang::Stmt::getStmtClass().

Reimplemented from clang::Stmt.

Definition at line 3348 of file ExprCXX.h.

References clang::SourceRange::getEnd().

Reimplemented from clang::Stmt.

Definition at line 3347 of file ExprCXX.h.

References clang::SourceRange::getBegin().

Definition at line 3345 of file ExprCXX.h.

SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.

Reimplemented from clang::Stmt.

Definition at line 3349 of file ExprCXX.h.

Definition at line 3351 of file ExprCXX.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 3328 of file ExprCXX.h.


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