clang API Documentation
The null pointer literal (C++11 [lex.nullptr]) More...
#include <ExprCXX.h>
Public Member Functions | |
CXXNullPtrLiteralExpr (QualType Ty, SourceLocation l) | |
CXXNullPtrLiteralExpr (EmptyShell Empty) | |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getLocation () const |
void | setLocation (SourceLocation L) |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
The null pointer literal (C++11 [lex.nullptr])
Introduced in C++11, the only literal of type nullptr_t
is nullptr
.
clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr | ( | QualType | Ty, |
SourceLocation | l | ||
) | [inline] |
clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::CXXNullPtrLiteralExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::CXXNullPtrLiteralExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 476 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::CXXNullPtrLiteralExpr::getLocation | ( | ) | const [inline] |
SourceLocation clang::CXXNullPtrLiteralExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::CXXNullPtrLiteralExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
void clang::CXXNullPtrLiteralExpr::setLocation | ( | SourceLocation | L | ) | [inline] |