clang API Documentation

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

#include <Stmt.h>

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

List of all members.

Public Member Functions

 IndirectGotoStmt (SourceLocation gotoLoc, SourceLocation starLoc, Expr *target)
 IndirectGotoStmt (EmptyShell Empty)
 Build an empty indirect goto statement.
void setGotoLoc (SourceLocation L)
SourceLocation getGotoLoc () const
void setStarLoc (SourceLocation L)
SourceLocation getStarLoc () const
ExprgetTarget ()
const ExprgetTarget () const
void setTarget (Expr *E)
LabelDeclgetConstantTarget ()
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 1243 of file Stmt.h.


Constructor & Destructor Documentation

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

Definition at line 1248 of file Stmt.h.

Build an empty indirect goto statement.

Definition at line 1254 of file Stmt.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1281 of file Stmt.h.

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

Definition at line 1276 of file Stmt.h.

References clang::Stmt::getStmtClass().

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

Definition at line 998 of file Stmt.cpp.

References getTarget().

Referenced by clang::CodeGen::CodeGenFunction::EmitIndirectGotoStmt(), and getConstantTarget().

Definition at line 1269 of file Stmt.h.

References getConstantTarget().

Definition at line 1258 of file Stmt.h.

Referenced by DiagnoseIndirectJumpStmt().

Reimplemented from clang::Stmt.

Definition at line 1274 of file Stmt.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 1273 of file Stmt.h.

Definition at line 1260 of file Stmt.h.

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

Definition at line 1263 of file Stmt.h.

Definition at line 1257 of file Stmt.h.

Definition at line 1259 of file Stmt.h.

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

Definition at line 1264 of file Stmt.h.


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