clang API Documentation

clang::CXXZeroInitValueExpr Class Reference

#include <ExprCXX.h>

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

List of all members.

Public Member Functions

 CXXZeroInitValueExpr (QualType ty, SourceLocation tyBeginLoc, SourceLocation rParenLoc)
 CXXZeroInitValueExpr (EmptyShell Shell)
SourceLocation getTypeBeginLoc () const
SourceLocation getRParenLoc () const
void setTypeBeginLoc (SourceLocation L)
void setRParenLoc (SourceLocation L)
bool isImplicit () const
 Whether this initialization expression was implicitly-generated.
virtual SourceRange getSourceRange () const
virtual child_iterator child_begin ()
virtual child_iterator child_end ()

Static Public Member Functions

static bool classof (const Stmt *T)
static bool classof (const CXXZeroInitValueExpr *)

Detailed Description

CXXZeroInitValueExpr - [C++ 5.2.3p2] Expression "T()" which creates a value-initialized rvalue of type T, which is either a non-class type or a class type without any user-defined constructors.

Definition at line 869 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::CXXZeroInitValueExpr::CXXZeroInitValueExpr ( QualType  ty,
SourceLocation  tyBeginLoc,
SourceLocation  rParenLoc 
) [inline]

Definition at line 874 of file ExprCXX.h.

clang::CXXZeroInitValueExpr::CXXZeroInitValueExpr ( EmptyShell  Shell  )  [inline, explicit]

Definition at line 878 of file ExprCXX.h.


Member Function Documentation

Stmt::child_iterator CXXZeroInitValueExpr::child_begin (  )  [virtual]

Implements clang::Stmt.

Definition at line 78 of file ExprCXX.cpp.

Stmt::child_iterator CXXZeroInitValueExpr::child_end (  )  [virtual]

Implements clang::Stmt.

Definition at line 81 of file ExprCXX.cpp.

static bool clang::CXXZeroInitValueExpr::classof ( const CXXZeroInitValueExpr  )  [inline, static]

Definition at line 900 of file ExprCXX.h.

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

Reimplemented from clang::Expr.

Definition at line 897 of file ExprCXX.h.

References clang::Stmt::getStmtClass().

SourceLocation clang::CXXZeroInitValueExpr::getRParenLoc (  )  const [inline]

Definition at line 882 of file ExprCXX.h.

Referenced by clang::PCHStmtWriter::VisitCXXZeroInitValueExpr().

virtual SourceRange clang::CXXZeroInitValueExpr::getSourceRange (  )  const [inline, virtual]

SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.

Implements clang::Expr.

Definition at line 893 of file ExprCXX.h.

SourceLocation clang::CXXZeroInitValueExpr::getTypeBeginLoc (  )  const [inline]

Definition at line 881 of file ExprCXX.h.

Referenced by clang::PCHStmtWriter::VisitCXXZeroInitValueExpr().

bool clang::CXXZeroInitValueExpr::isImplicit (  )  const [inline]

Whether this initialization expression was implicitly-generated.

Definition at line 889 of file ExprCXX.h.

References clang::SourceLocation::isInvalid().

void clang::CXXZeroInitValueExpr::setRParenLoc ( SourceLocation  L  )  [inline]

Definition at line 885 of file ExprCXX.h.

Referenced by clang::PCHStmtReader::VisitCXXZeroInitValueExpr().

void clang::CXXZeroInitValueExpr::setTypeBeginLoc ( SourceLocation  L  )  [inline]

Definition at line 884 of file ExprCXX.h.

Referenced by clang::PCHStmtReader::VisitCXXZeroInitValueExpr().


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