class GotoStmt
Declaration
class GotoStmt : public Stmt { /* full declaration omitted */ };
Description
GotoStmt - This represents a direct goto.
Declared at: clang/include/clang/AST/Stmt.h:2637
Inherits from: Stmt
Member Variables
- private clang::LabelDecl* Label
- private clang::SourceLocation LabelLoc
Inherited from Stmt:
Method Overview
- public GotoStmt(clang::LabelDecl * label, clang::SourceLocation GL, clang::SourceLocation LL)
- public GotoStmt(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::SourceLocation getEndLoc() const
- public clang::SourceLocation getGotoLoc() const
- public clang::LabelDecl * getLabel() const
- public clang::SourceLocation getLabelLoc() const
- public void setGotoLoc(clang::SourceLocation L)
- public void setLabel(clang::LabelDecl * D)
- public void setLabelLoc(clang::SourceLocation L)
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
¶GotoStmt(clang::LabelDecl* label,
clang::SourceLocation GL,
clang::SourceLocation LL)
GotoStmt(clang::LabelDecl* label,
clang::SourceLocation GL,
clang::SourceLocation LL)
Declared at: clang/include/clang/AST/Stmt.h:2642
Parameters
¶GotoStmt(clang::Stmt::EmptyShell Empty)
GotoStmt(clang::Stmt::EmptyShell Empty)
Description
Build an empty goto statement.
Declared at: clang/include/clang/AST/Stmt.h:2648
Parameters
- clang::Stmt::EmptyShell Empty
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/Stmt.h:2666
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/Stmt.h:2670
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/Stmt.h:2661
Parameters
- const clang::Stmt* T
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2658
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2659
¶clang::SourceLocation getGotoLoc() const
clang::SourceLocation getGotoLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2653
¶clang::LabelDecl* getLabel() const
clang::LabelDecl* getLabel() const
Declared at: clang/include/clang/AST/Stmt.h:2650
¶clang::SourceLocation getLabelLoc() const
clang::SourceLocation getLabelLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2655
¶void setGotoLoc(clang::SourceLocation L)
void setGotoLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2654
Parameters
¶void setLabel(clang::LabelDecl* D)
void setLabel(clang::LabelDecl* D)
Declared at: clang/include/clang/AST/Stmt.h:2651
Parameters
¶void setLabelLoc(clang::SourceLocation L)
void setLabelLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2656