clang API Documentation
#include <Stmt.h>
Public Member Functions | |
GotoStmt (LabelDecl *label, SourceLocation GL, SourceLocation LL) | |
GotoStmt (EmptyShell Empty) | |
Build an empty goto statement. | |
LabelDecl * | getLabel () const |
void | setLabel (LabelDecl *D) |
SourceLocation | getGotoLoc () const |
void | setGotoLoc (SourceLocation L) |
SourceLocation | getLabelLoc () const |
void | setLabelLoc (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::GotoStmt::GotoStmt | ( | LabelDecl * | label, |
SourceLocation | GL, | ||
SourceLocation | LL | ||
) | [inline] |
clang::GotoStmt::GotoStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::GotoStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::GotoStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 1233 of file Stmt.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::GotoStmt::getGotoLoc | ( | ) | const [inline] |
LabelDecl* clang::GotoStmt::getLabel | ( | ) | const [inline] |
Definition at line 1222 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitGotoStmt().
SourceLocation clang::GotoStmt::getLabelLoc | ( | ) | const [inline] |
SourceLocation clang::GotoStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::GotoStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
void clang::GotoStmt::setGotoLoc | ( | SourceLocation | L | ) | [inline] |
void clang::GotoStmt::setLabel | ( | LabelDecl * | D | ) | [inline] |
void clang::GotoStmt::setLabelLoc | ( | SourceLocation | L | ) | [inline] |