clang API Documentation
#include <Expr.h>
Public Member Functions | |
AsTypeExpr (Expr *SrcExpr, QualType DstType, ExprValueKind VK, ExprObjectKind OK, SourceLocation BuiltinLoc, SourceLocation RParenLoc) | |
Expr * | getSrcExpr () 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 |
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.
clang::AsTypeExpr::AsTypeExpr | ( | Expr * | SrcExpr, |
QualType | DstType, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | BuiltinLoc, | ||
SourceLocation | RParenLoc | ||
) | [inline] |
child_range clang::AsTypeExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
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().
SourceLocation clang::AsTypeExpr::getBuiltinLoc | ( | ) | const [inline] |
SourceLocation clang::AsTypeExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::AsTypeExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::AsTypeExpr::getRParenLoc | ( | ) | const [inline] |
Expr* clang::AsTypeExpr::getSrcExpr | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.