class IndirectGotoStmt

Declaration

class IndirectGotoStmt : public Stmt { /* full declaration omitted */ };

Description

IndirectGotoStmt - This represents an indirect goto.

Declared at: clang/include/clang/AST/Stmt.h:2676

Inherits from: Stmt

Member Variables

private clang::SourceLocation StarLoc
private clang::Stmt* Target

Inherited from Stmt:

protected

Method Overview

Inherited from Stmt:

Methods

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

Declared at: clang/include/clang/AST/Stmt.h:2681

Parameters

clang::SourceLocation gotoLoc
clang::SourceLocation starLoc
clang::Expr* target

IndirectGotoStmt(clang::Stmt::EmptyShell Empty)

Description

Build an empty indirect goto statement.

Declared at: clang/include/clang/AST/Stmt.h:2688

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/Stmt.h:2717

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/Stmt.h:2719

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/Stmt.h:2712

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/Stmt.h:2709

clang::LabelDecl* getConstantTarget()

Description

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

Declared at: clang/include/clang/AST/Stmt.h:2704

const clang::LabelDecl* getConstantTarget() const

Declared at: clang/include/clang/AST/Stmt.h:2705

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/Stmt.h:2710

clang::SourceLocation getGotoLoc() const

Declared at: clang/include/clang/AST/Stmt.h:2692

clang::SourceLocation getStarLoc() const

Declared at: clang/include/clang/AST/Stmt.h:2694

clang::Expr* getTarget()

Declared at: clang/include/clang/AST/Stmt.h:2696

const clang::Expr* getTarget() const

Declared at: clang/include/clang/AST/Stmt.h:2697

void setGotoLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/Stmt.h:2691

Parameters

clang::SourceLocation L

void setStarLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/Stmt.h:2693

Parameters

clang::SourceLocation L

void setTarget(clang::Expr* E)

Declared at: clang/include/clang/AST/Stmt.h:2700

Parameters

clang::Expr* E