clang API Documentation

Public Member Functions | Static Public Member Functions
clang::GotoStmt Class Reference

#include <Stmt.h>

Inheritance diagram for clang::GotoStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::GotoStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GotoStmt (LabelDecl *label, SourceLocation GL, SourceLocation LL)
 GotoStmt (EmptyShell Empty)
 Build an empty goto statement.
LabelDeclgetLabel () 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)

Detailed Description

GotoStmt - This represents a direct goto.

Definition at line 1211 of file Stmt.h.


Constructor & Destructor Documentation

clang::GotoStmt::GotoStmt ( LabelDecl label,
SourceLocation  GL,
SourceLocation  LL 
) [inline]

Definition at line 1216 of file Stmt.h.

clang::GotoStmt::GotoStmt ( EmptyShell  Empty) [inline, explicit]

Build an empty goto statement.

Definition at line 1220 of file Stmt.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1238 of file Stmt.h.

static bool clang::GotoStmt::classof ( const Stmt T) [inline, static]

Definition at line 1233 of file Stmt.h.

References clang::Stmt::getStmtClass().

Definition at line 1225 of file Stmt.h.

LabelDecl* clang::GotoStmt::getLabel ( ) const [inline]

Definition at line 1222 of file Stmt.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitGotoStmt().

Definition at line 1227 of file Stmt.h.

Reimplemented from clang::Stmt.

Definition at line 1231 of file Stmt.h.

Reimplemented from clang::Stmt.

Definition at line 1230 of file Stmt.h.

Definition at line 1226 of file Stmt.h.

void clang::GotoStmt::setLabel ( LabelDecl D) [inline]

Definition at line 1223 of file Stmt.h.

Definition at line 1228 of file Stmt.h.


The documentation for this class was generated from the following file: