class CXXNullPtrLiteralExpr

Declaration

class CXXNullPtrLiteralExpr : public Expr { /* full declaration omitted */ };

Description

The null pointer literal (C++11 [lex.nullptr]) Introduced in C++11, the only literal of type \c nullptr_t is \c nullptr.

Declared at: clang/include/clang/AST/ExprCXX.h:759

Inherits from: Expr

Member Variables

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXNullPtrLiteralExpr(clang::QualType Ty,
                      clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/ExprCXX.h:761

Parameters

clang::QualType Ty
clang::SourceLocation Loc

CXXNullPtrLiteralExpr(
    clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprCXX.h:767

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprCXX.h:780

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprCXX.h:784

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprCXX.h:776

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:770

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:771

clang::SourceLocation getLocation() const

Declared at: clang/include/clang/AST/ExprCXX.h:773

void setLocation(clang::SourceLocation L)

Declared at: clang/include/clang/AST/ExprCXX.h:774

Parameters

clang::SourceLocation L