clang API Documentation
Represents a C++11 noexcept expression (C++ [expr.unary.noexcept]). More...
#include <ExprCXX.h>


Public Member Functions | |
| CXXNoexceptExpr (QualType Ty, Expr *Operand, CanThrowResult Val, SourceLocation Keyword, SourceLocation RParen) | |
| CXXNoexceptExpr (EmptyShell Empty) | |
| Expr * | getOperand () 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 |
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.
| clang::CXXNoexceptExpr::CXXNoexceptExpr | ( | QualType | Ty, |
| Expr * | Operand, | ||
| CanThrowResult | Val, | ||
| SourceLocation | Keyword, | ||
| SourceLocation | RParen | ||
| ) | [inline] |
| clang::CXXNoexceptExpr::CXXNoexceptExpr | ( | EmptyShell | Empty | ) | [inline] |
| child_range clang::CXXNoexceptExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| 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().
| SourceLocation clang::CXXNoexceptExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 3348 of file ExprCXX.h.
References clang::SourceRange::getEnd().
| SourceLocation clang::CXXNoexceptExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 3347 of file ExprCXX.h.
References clang::SourceRange::getBegin().
| Expr* clang::CXXNoexceptExpr::getOperand | ( | ) | const [inline] |
| SourceRange clang::CXXNoexceptExpr::getSourceRange | ( | ) | const [inline] |
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.
| bool clang::CXXNoexceptExpr::getValue | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.