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:
Method Overview
- public IndirectGotoStmt(clang::SourceLocation gotoLoc, clang::SourceLocation starLoc, clang::Expr * target)
- public IndirectGotoStmt(clang::Stmt::EmptyShell Empty)
- public clang::Stmt::child_range children()
- public clang::Stmt::const_child_range children() const
- public static bool classof(const clang::Stmt * T)
- public clang::SourceLocation getBeginLoc() const
- public clang::LabelDecl * getConstantTarget()
- public const clang::LabelDecl * getConstantTarget() const
- public clang::SourceLocation getEndLoc() const
- public clang::SourceLocation getGotoLoc() const
- public clang::SourceLocation getStarLoc() const
- public clang::Expr * getTarget()
- public const clang::Expr * getTarget() const
- public void setGotoLoc(clang::SourceLocation L)
- public void setStarLoc(clang::SourceLocation L)
- public void setTarget(clang::Expr * E)
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶IndirectGotoStmt(clang::SourceLocation gotoLoc,
clang::SourceLocation starLoc,
clang::Expr* target)
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)
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()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/Stmt.h:2717
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/Stmt.h:2719
¶static bool classof(const clang::Stmt* T)
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
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2709
¶clang::LabelDecl* getConstantTarget()
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
const clang::LabelDecl* getConstantTarget() const
Declared at: clang/include/clang/AST/Stmt.h:2705
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2710
¶clang::SourceLocation getGotoLoc() const
clang::SourceLocation getGotoLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2692
¶clang::SourceLocation getStarLoc() const
clang::SourceLocation getStarLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2694
¶clang::Expr* getTarget()
clang::Expr* getTarget()
Declared at: clang/include/clang/AST/Stmt.h:2696
¶const clang::Expr* getTarget() const
const clang::Expr* getTarget() const
Declared at: clang/include/clang/AST/Stmt.h:2697
¶void setGotoLoc(clang::SourceLocation L)
void setGotoLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2691
Parameters
¶void setStarLoc(clang::SourceLocation L)
void setStarLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2693
Parameters
¶void setTarget(clang::Expr* E)
void setTarget(clang::Expr* E)
Declared at: clang/include/clang/AST/Stmt.h:2700
Parameters
- clang::Expr* E