clang API Documentation
A boolean literal, per ([C++ lex.bool] Boolean literals). More...
#include <ExprCXX.h>
Public Member Functions | |
CXXBoolLiteralExpr (bool val, QualType Ty, SourceLocation l) | |
CXXBoolLiteralExpr (EmptyShell Empty) | |
bool | getValue () const |
void | setValue (bool V) |
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) |
clang::CXXBoolLiteralExpr::CXXBoolLiteralExpr | ( | bool | val, |
QualType | Ty, | ||
SourceLocation | l | ||
) | [inline] |
clang::CXXBoolLiteralExpr::CXXBoolLiteralExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::CXXBoolLiteralExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::CXXBoolLiteralExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 448 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::CXXBoolLiteralExpr::getLocation | ( | ) | const [inline] |
SourceLocation clang::CXXBoolLiteralExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::CXXBoolLiteralExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
bool clang::CXXBoolLiteralExpr::getValue | ( | ) | const [inline] |
Definition at line 439 of file ExprCXX.h.
Referenced by clang::ento::SValBuilder::makeBoolVal().
void clang::CXXBoolLiteralExpr::setLocation | ( | SourceLocation | L | ) | [inline] |
void clang::CXXBoolLiteralExpr::setValue | ( | bool | V | ) | [inline] |