clang  3.8.0
Public Member Functions | Static Public Member Functions | List of all members
clang::IndirectGotoStmt Class Reference

IndirectGotoStmt - This represents an indirect goto. More...

#include <Stmt.h>

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

Public Member Functions

 IndirectGotoStmt (SourceLocation gotoLoc, SourceLocation starLoc, Expr *target)
 
 IndirectGotoStmt (EmptyShell Empty)
 Build an empty indirect goto statement. More...
 
void setGotoLoc (SourceLocation L)
 
SourceLocation getGotoLoc () const
 
void setStarLoc (SourceLocation L)
 
SourceLocation getStarLoc () const
 
ExprgetTarget ()
 
const ExprgetTarget () const
 
void setTarget (Expr *E)
 
LabelDeclgetConstantTarget ()
 getConstantTarget - Returns the fixed target of this indirect goto, if one exists. More...
 
const LabelDeclgetConstantTarget () const
 
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

IndirectGotoStmt - This represents an indirect goto.

Definition at line 1236 of file Stmt.h.

Constructor & Destructor Documentation

clang::IndirectGotoStmt::IndirectGotoStmt ( SourceLocation  gotoLoc,
SourceLocation  starLoc,
Expr target 
)
inline

Definition at line 1241 of file Stmt.h.

clang::IndirectGotoStmt::IndirectGotoStmt ( EmptyShell  Empty)
inlineexplicit

Build an empty indirect goto statement.

Definition at line 1247 of file Stmt.h.

Member Function Documentation

child_range clang::IndirectGotoStmt::children ( )
inline

Definition at line 1274 of file Stmt.h.

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

Definition at line 1269 of file Stmt.h.

LabelDecl * IndirectGotoStmt::getConstantTarget ( )

getConstantTarget - Returns the fixed target of this indirect goto, if one exists.

Definition at line 880 of file Stmt.cpp.

References E, and getTarget().

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

const LabelDecl* clang::IndirectGotoStmt::getConstantTarget ( ) const
inline

Definition at line 1262 of file Stmt.h.

SourceLocation clang::IndirectGotoStmt::getGotoLoc ( ) const
inline
SourceLocation clang::IndirectGotoStmt::getLocEnd ( ) const
inline

Definition at line 1267 of file Stmt.h.

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

Definition at line 1266 of file Stmt.h.

SourceLocation clang::IndirectGotoStmt::getStarLoc ( ) const
inline

Definition at line 1253 of file Stmt.h.

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

Expr* clang::IndirectGotoStmt::getTarget ( )
inline
const Expr* clang::IndirectGotoStmt::getTarget ( ) const
inline

Definition at line 1256 of file Stmt.h.

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

Definition at line 1250 of file Stmt.h.

void clang::IndirectGotoStmt::setStarLoc ( SourceLocation  L)
inline

Definition at line 1252 of file Stmt.h.

void clang::IndirectGotoStmt::setTarget ( Expr E)
inline

Definition at line 1257 of file Stmt.h.

References E.


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