clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CXXFunctionalCastExpr Class Reference

Represents an explicit C++ type conversion that uses "functional" notation (C++ [expr.type.conv]). More...

#include <ExprCXX.h>

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

List of all members.

Public Member Functions

SourceLocation getLParenLoc () const
void setLParenLoc (SourceLocation L)
SourceLocation getRParenLoc () const
void setRParenLoc (SourceLocation L)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY

Static Public Member Functions

static CXXFunctionalCastExprCreate (const ASTContext &Context, QualType T, ExprValueKind VK, TypeSourceInfo *Written, CastKind Kind, Expr *Op, const CXXCastPath *Path, SourceLocation LPLoc, SourceLocation RPLoc)
static CXXFunctionalCastExprCreateEmpty (const ASTContext &Context, unsigned PathSize)
static bool classof (const Stmt *T)

Detailed Description

Represents an explicit C++ type conversion that uses "functional" notation (C++ [expr.type.conv]).

Example:

   x = int(0.5);

Definition at line 1234 of file ExprCXX.h.


Member Function Documentation

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

Reimplemented from clang::ExplicitCastExpr.

Definition at line 1268 of file ExprCXX.h.

CXXFunctionalCastExpr * CXXFunctionalCastExpr::Create ( const ASTContext Context,
QualType  T,
ExprValueKind  VK,
TypeSourceInfo Written,
CastKind  Kind,
Expr Op,
const CXXCastPath Path,
SourceLocation  LPLoc,
SourceLocation  RPLoc 
) [static]
CXXFunctionalCastExpr * CXXFunctionalCastExpr::CreateEmpty ( const ASTContext Context,
unsigned  PathSize 
) [static]

Definition at line 720 of file ExprCXX.cpp.

References clang::ASTContext::Allocate().

Definition at line 1260 of file ExprCXX.h.

Definition at line 1262 of file ExprCXX.h.

Definition at line 1261 of file ExprCXX.h.

Definition at line 1263 of file ExprCXX.h.


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