clang  3.9.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 1258 of file Stmt.h.

Constructor & Destructor Documentation

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

Definition at line 1263 of file Stmt.h.

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

Build an empty indirect goto statement.

Definition at line 1269 of file Stmt.h.

Member Function Documentation

child_range clang::IndirectGotoStmt::children ( )
inline

Definition at line 1296 of file Stmt.h.

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

Definition at line 1291 of file Stmt.h.

LabelDecl * IndirectGotoStmt::getConstantTarget ( )

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

Definition at line 891 of file Stmt.cpp.

References E, and getTarget().

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

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

Definition at line 1284 of file Stmt.h.

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

Definition at line 1289 of file Stmt.h.

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

Definition at line 1288 of file Stmt.h.

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

Definition at line 1275 of file Stmt.h.

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

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

Definition at line 1278 of file Stmt.h.

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

Definition at line 1272 of file Stmt.h.

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

Definition at line 1274 of file Stmt.h.

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

Definition at line 1279 of file Stmt.h.

References E.


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