class CXXBoolLiteralExpr

Declaration

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

Description

A boolean literal, per ([C++ lex.bool] Boolean literals).

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

Inherits from: Expr

Member Variables

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXBoolLiteralExpr(bool Val,
                   clang::QualType Ty,
                   clang::SourceLocation Loc)

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

Parameters

bool Val
clang::QualType Ty
clang::SourceLocation Loc

CXXBoolLiteralExpr(clang::Stmt::EmptyShell Empty)

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

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

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

clang::Stmt::const_child_range children() const

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

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

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

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::SourceLocation getLocation() const

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

bool getValue() const

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

void setLocation(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L

void setValue(bool V)

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

Parameters

bool V