clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::GotoStmt Class Reference

#include <Stmt.h>

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

Public Member Functions

 GotoStmt (LabelDecl *label, SourceLocation GL, SourceLocation LL)
 
 GotoStmt (EmptyShell Empty)
 Build an empty goto statement. More...
 
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 1215 of file Stmt.h.

Constructor & Destructor Documentation

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

Definition at line 1220 of file Stmt.h.

clang::GotoStmt::GotoStmt ( EmptyShell  Empty)
inlineexplicit

Build an empty goto statement.

Definition at line 1224 of file Stmt.h.

Member Function Documentation

child_range clang::GotoStmt::children ( )
inline

Definition at line 1242 of file Stmt.h.

static bool clang::GotoStmt::classof ( const Stmt T)
inlinestatic

Definition at line 1237 of file Stmt.h.

SourceLocation clang::GotoStmt::getGotoLoc ( ) const
inline

Definition at line 1229 of file Stmt.h.

Referenced by clang::ASTNodeImporter::VisitGotoStmt().

LabelDecl* clang::GotoStmt::getLabel ( ) const
inline
SourceLocation clang::GotoStmt::getLabelLoc ( ) const
inline

Definition at line 1231 of file Stmt.h.

Referenced by clang::ASTNodeImporter::VisitGotoStmt().

SourceLocation clang::GotoStmt::getLocEnd ( ) const
inline

Definition at line 1235 of file Stmt.h.

SourceLocation clang::GotoStmt::getLocStart ( ) const
inline

Definition at line 1234 of file Stmt.h.

void clang::GotoStmt::setGotoLoc ( SourceLocation  L)
inline

Definition at line 1230 of file Stmt.h.

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

Definition at line 1227 of file Stmt.h.

void clang::GotoStmt::setLabelLoc ( SourceLocation  L)
inline

Definition at line 1232 of file Stmt.h.


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