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:

protected

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:

Methods

GotoStmt(clang::LabelDecl* label,
         clang::SourceLocation GL,
         clang::SourceLocation LL)

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

Parameters

clang::LabelDecl* label
clang::SourceLocation GL
clang::SourceLocation LL

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()

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

clang::Stmt::const_child_range children() const

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

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

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

clang::SourceLocation getEndLoc() const

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

clang::SourceLocation getGotoLoc() const

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

clang::LabelDecl* getLabel() const

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

clang::SourceLocation getLabelLoc() const

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

void setGotoLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L

void setLabel(clang::LabelDecl* D)

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

Parameters

clang::LabelDecl* D

void setLabelLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L