clang API Documentation
An expression trait intrinsic. More...
#include <ExprCXX.h>
Public Member Functions | |
ExpressionTraitExpr (SourceLocation loc, ExpressionTrait et, Expr *queried, bool value, SourceLocation rparen, QualType resultType) | |
ExpressionTraitExpr (EmptyShell Empty) | |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
ExpressionTrait | getTrait () const |
Expr * | getQueriedExpression () const |
bool | getValue () const |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
An expression trait intrinsic.
Example:
__is_lvalue_expr(std::cout) == true __is_lvalue_expr(1) == false
clang::ExpressionTraitExpr::ExpressionTraitExpr | ( | SourceLocation | loc, |
ExpressionTrait | et, | ||
Expr * | queried, | ||
bool | value, | ||
SourceLocation | rparen, | ||
QualType | resultType | ||
) | [inline] |
clang::ExpressionTraitExpr::ExpressionTraitExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::ExpressionTraitExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::ExpressionTraitExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 2279 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::ExpressionTraitExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::ExpressionTraitExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Expr* clang::ExpressionTraitExpr::getQueriedExpression | ( | ) | const [inline] |
ExpressionTrait clang::ExpressionTraitExpr::getTrait | ( | ) | const [inline] |
bool clang::ExpressionTraitExpr::getValue | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.