clang API Documentation

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

#include <Expr.h>

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

List of all members.

Public Member Functions

 AsTypeExpr (Expr *SrcExpr, QualType DstType, ExprValueKind VK, ExprObjectKind OK, SourceLocation BuiltinLoc, SourceLocation RParenLoc)
ExprgetSrcExpr () const
 getSrcExpr - Return the Expr to be converted.
SourceLocation getBuiltinLoc () const
 getBuiltinLoc - Return the location of the __builtin_astype token.
SourceLocation getRParenLoc () const
 getRParenLoc - Return the location of final right parenthesis.
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTReader
class ASTStmtReader

Detailed Description

AsTypeExpr - Clang builtin function __builtin_astype [OpenCL 6.2.4.2] This AST node provides support for reinterpreting a type to another type of the same size.

Definition at line 4567 of file Expr.h.


Constructor & Destructor Documentation

clang::AsTypeExpr::AsTypeExpr ( Expr SrcExpr,
QualType  DstType,
ExprValueKind  VK,
ExprObjectKind  OK,
SourceLocation  BuiltinLoc,
SourceLocation  RParenLoc 
) [inline]

Definition at line 4577 of file Expr.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 4606 of file Expr.h.

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

Reimplemented from clang::Expr.

Definition at line 4601 of file Expr.h.

References clang::Stmt::getStmtClass().

getBuiltinLoc - Return the location of the __builtin_astype token.

Definition at line 4593 of file Expr.h.

Reimplemented from clang::Stmt.

Definition at line 4599 of file Expr.h.

Reimplemented from clang::Stmt.

Definition at line 4598 of file Expr.h.

getRParenLoc - Return the location of final right parenthesis.

Definition at line 4596 of file Expr.h.

Expr* clang::AsTypeExpr::getSrcExpr ( ) const [inline]

getSrcExpr - Return the Expr to be converted.

Definition at line 4590 of file Expr.h.


Friends And Related Function Documentation

friend class ASTReader [friend]

Definition at line 4572 of file Expr.h.

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 4573 of file Expr.h.


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