clang API Documentation
A C++ static_cast
expression (C++ [expr.static.cast]).
More...
#include <ExprCXX.h>
Static Public Member Functions | |
static CXXStaticCastExpr * | Create (const ASTContext &Context, QualType T, ExprValueKind VK, CastKind K, Expr *Op, const CXXCastPath *Path, TypeSourceInfo *Written, SourceLocation L, SourceLocation RParenLoc, SourceRange AngleBrackets) |
static CXXStaticCastExpr * | CreateEmpty (const ASTContext &Context, unsigned PathSize) |
static bool | classof (const Stmt *T) |
A C++ static_cast
expression (C++ [expr.static.cast]).
This expression node represents a C++ static cast, e.g., static_cast<int>
(1.0).
static bool clang::CXXStaticCastExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::CXXNamedCastExpr.
Definition at line 252 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
CXXStaticCastExpr * CXXStaticCastExpr::Create | ( | const ASTContext & | Context, |
QualType | T, | ||
ExprValueKind | VK, | ||
CastKind | K, | ||
Expr * | Op, | ||
const CXXCastPath * | Path, | ||
TypeSourceInfo * | Written, | ||
SourceLocation | L, | ||
SourceLocation | RParenLoc, | ||
SourceRange | AngleBrackets | ||
) | [static] |
Definition at line 585 of file ExprCXX.cpp.
References clang::ASTContext::Allocate(), and clang::CastExpr::setCastPath().
Referenced by clang::Sema::BuildCXXNamedCast().
CXXStaticCastExpr * CXXStaticCastExpr::CreateEmpty | ( | const ASTContext & | Context, |
unsigned | PathSize | ||
) | [static] |
Definition at line 603 of file ExprCXX.cpp.
References clang::ASTContext::Allocate().