clang API Documentation
#include <ExprCXX.h>


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 *) |
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.
| clang::CXXZeroInitValueExpr::CXXZeroInitValueExpr | ( | QualType | ty, | |
| SourceLocation | tyBeginLoc, | |||
| SourceLocation | rParenLoc | |||
| ) | [inline] |
| clang::CXXZeroInitValueExpr::CXXZeroInitValueExpr | ( | EmptyShell | Shell | ) | [inline, explicit] |
| 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] |
| 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.
| 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().