clang API Documentation

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

CXXNullPtrLiteralExpr - [C++0x 2.14.7] C++ Pointer Literal. More...

#include <ExprCXX.h>

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

List of all members.

Public Member Functions

 CXXNullPtrLiteralExpr (QualType Ty, SourceLocation l)
 CXXNullPtrLiteralExpr (EmptyShell Empty)
SourceRange getSourceRange () const LLVM_READONLY
SourceLocation getLocation () const
void setLocation (SourceLocation L)
child_range children ()

Static Public Member Functions

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

Detailed Description

CXXNullPtrLiteralExpr - [C++0x 2.14.7] C++ Pointer Literal.

Definition at line 438 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr ( QualType  Ty,
SourceLocation  l 
) [inline]

Definition at line 441 of file ExprCXX.h.

clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr ( EmptyShell  Empty) [inline, explicit]

Definition at line 446 of file ExprCXX.h.


Member Function Documentation

child_range clang::CXXNullPtrLiteralExpr::children ( ) [inline]

Reimplemented from clang::Stmt.

Definition at line 459 of file ExprCXX.h.

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

Reimplemented from clang::Expr.

Definition at line 454 of file ExprCXX.h.

References clang::Stmt::getStmtClass().

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

Definition at line 457 of file ExprCXX.h.

SourceLocation clang::CXXNullPtrLiteralExpr::getLocation ( ) const [inline]

Definition at line 451 of file ExprCXX.h.

SourceRange clang::CXXNullPtrLiteralExpr::getSourceRange ( ) const [inline]

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.

Reimplemented from clang::Stmt.

Definition at line 449 of file ExprCXX.h.

void clang::CXXNullPtrLiteralExpr::setLocation ( SourceLocation  L) [inline]

Definition at line 452 of file ExprCXX.h.


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