clang API Documentation

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

An expression trait intrinsic. More...

#include <ExprCXX.h>

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

List of all members.

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
ExprgetQueriedExpression () const
bool getValue () const
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTStmtReader

Detailed Description

An expression trait intrinsic.

Example:

   __is_lvalue_expr(std::cout) == true
   __is_lvalue_expr(1) == false

Definition at line 2239 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::ExpressionTraitExpr::ExpressionTraitExpr ( SourceLocation  loc,
ExpressionTrait  et,
Expr queried,
bool  value,
SourceLocation  rparen,
QualType  resultType 
) [inline]

Definition at line 2254 of file ExprCXX.h.

Definition at line 2266 of file ExprCXX.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 2284 of file ExprCXX.h.

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().

Reimplemented from clang::Stmt.

Definition at line 2271 of file ExprCXX.h.

Reimplemented from clang::Stmt.

Definition at line 2270 of file ExprCXX.h.

Definition at line 2275 of file ExprCXX.h.

Definition at line 2273 of file ExprCXX.h.

Definition at line 2277 of file ExprCXX.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 2286 of file ExprCXX.h.


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