clang API Documentation
#include <Stmt.h>
Public Member Functions | |
DoStmt (Stmt *body, Expr *cond, SourceLocation DL, SourceLocation WL, SourceLocation RP) | |
DoStmt (EmptyShell Empty) | |
Build an empty do-while statement. | |
Expr * | getCond () |
const Expr * | getCond () const |
void | setCond (Expr *E) |
Stmt * | getBody () |
const Stmt * | getBody () const |
void | setBody (Stmt *S) |
SourceLocation | getDoLoc () const |
void | setDoLoc (SourceLocation L) |
SourceLocation | getWhileLoc () const |
void | setWhileLoc (SourceLocation L) |
SourceLocation | getRParenLoc () const |
void | setRParenLoc (SourceLocation L) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
clang::DoStmt::DoStmt | ( | Stmt * | body, |
Expr * | cond, | ||
SourceLocation | DL, | ||
SourceLocation | WL, | ||
SourceLocation | RP | ||
) | [inline] |
clang::DoStmt::DoStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::DoStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::DoStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 1125 of file Stmt.h.
References clang::Stmt::getStmtClass().
Stmt* clang::DoStmt::getBody | ( | ) | [inline] |
Definition at line 1110 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitDoStmt(), EvaluateStmt(), and isIdenticalStmt().
const Stmt* clang::DoStmt::getBody | ( | ) | const [inline] |
Expr* clang::DoStmt::getCond | ( | ) | [inline] |
Definition at line 1107 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitDoStmt(), EvaluateStmt(), and isIdenticalStmt().
const Expr* clang::DoStmt::getCond | ( | ) | const [inline] |
SourceLocation clang::DoStmt::getDoLoc | ( | ) | const [inline] |
SourceLocation clang::DoStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::DoStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::DoStmt::getRParenLoc | ( | ) | const [inline] |
SourceLocation clang::DoStmt::getWhileLoc | ( | ) | const [inline] |
void clang::DoStmt::setBody | ( | Stmt * | S | ) | [inline] |
void clang::DoStmt::setCond | ( | Expr * | E | ) | [inline] |
void clang::DoStmt::setDoLoc | ( | SourceLocation | L | ) | [inline] |
void clang::DoStmt::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
void clang::DoStmt::setWhileLoc | ( | SourceLocation | L | ) | [inline] |