class DoStmt

Declaration

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

Description

DoStmt - This represents a 'do/while' stmt.

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

Inherits from: Stmt

Member Variables

private clang::Stmt* [2] SubExprs
private clang::SourceLocation WhileLoc
private clang::SourceLocation RParenLoc

Inherited from Stmt:

protected

Method Overview

  • public DoStmt(clang::Stmt::EmptyShell Empty)
  • public DoStmt(clang::Stmt * Body, clang::Expr * Cond, clang::SourceLocation DL, clang::SourceLocation WL, clang::SourceLocation RP)
  • public clang::Stmt::const_child_range children() const
  • public clang::Stmt::child_range children()
  • public static bool classof(const clang::Stmt * T)
  • public clang::SourceLocation getBeginLoc() const
  • public clang::Stmt * getBody()
  • public const clang::Stmt * getBody() const
  • public const clang::Expr * getCond() const
  • public clang::Expr * getCond()
  • public clang::SourceLocation getDoLoc() const
  • public clang::SourceLocation getEndLoc() const
  • public clang::SourceLocation getRParenLoc() const
  • public clang::SourceLocation getWhileLoc() const
  • public void setBody(clang::Stmt * Body)
  • public void setCond(clang::Expr * Cond)
  • public void setDoLoc(clang::SourceLocation L)
  • public void setRParenLoc(clang::SourceLocation L)
  • public void setWhileLoc(clang::SourceLocation L)

Inherited from Stmt:

Methods

DoStmt(clang::Stmt::EmptyShell Empty)

Description

Build an empty do-while statement.

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

Parameters

clang::Stmt::EmptyShell Empty

DoStmt(clang::Stmt* Body,
       clang::Expr* Cond,
       clang::SourceLocation DL,
       clang::SourceLocation WL,
       clang::SourceLocation RP)

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

Parameters

clang::Stmt* Body
clang::Expr* Cond
clang::SourceLocation DL
clang::SourceLocation WL
clang::SourceLocation RP

clang::Stmt::const_child_range children() const

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

clang::Stmt::child_range children()

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

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

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

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

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

clang::Stmt* getBody()

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

const clang::Stmt* getBody() const

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

const clang::Expr* getCond() const

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

clang::Expr* getCond()

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

clang::SourceLocation getDoLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::SourceLocation getRParenLoc() const

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

clang::SourceLocation getWhileLoc() const

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

void setBody(clang::Stmt* Body)

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

Parameters

clang::Stmt* Body

void setCond(clang::Expr* Cond)

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

Parameters

clang::Expr* Cond

void setDoLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L

void setRParenLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L

void setWhileLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L