clang API Documentation

Static Public Member Functions
clang::CXXStaticCastExpr Class Reference

A C++ static_cast expression (C++ [expr.static.cast]). More...

#include <ExprCXX.h>

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

List of all members.

Static Public Member Functions

static CXXStaticCastExprCreate (const ASTContext &Context, QualType T, ExprValueKind VK, CastKind K, Expr *Op, const CXXCastPath *Path, TypeSourceInfo *Written, SourceLocation L, SourceLocation RParenLoc, SourceRange AngleBrackets)
static CXXStaticCastExprCreateEmpty (const ASTContext &Context, unsigned PathSize)
static bool classof (const Stmt *T)

Detailed Description

A C++ static_cast expression (C++ [expr.static.cast]).

This expression node represents a C++ static cast, e.g., static_cast<int>(1.0).

Definition at line 231 of file ExprCXX.h.


Member Function Documentation

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]
CXXStaticCastExpr * CXXStaticCastExpr::CreateEmpty ( const ASTContext Context,
unsigned  PathSize 
) [static]

Definition at line 603 of file ExprCXX.cpp.

References clang::ASTContext::Allocate().


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