clang API Documentation

Public Member Functions | Static Public Member Functions
clang::DoStmt Class Reference

#include <Stmt.h>

Inheritance diagram for clang::DoStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::DoStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DoStmt (Stmt *body, Expr *cond, SourceLocation DL, SourceLocation WL, SourceLocation RP)
 DoStmt (EmptyShell Empty)
 Build an empty do-while statement.
ExprgetCond ()
const ExprgetCond () const
void setCond (Expr *E)
StmtgetBody ()
const StmtgetBody () const
void setBody (Stmt *S)
SourceLocation getDoLoc () const
void setDoLoc (SourceLocation L)
SourceLocation getWhileLoc () const
void setWhileLoc (SourceLocation L)
SourceLocation getRParenLoc () const
void setRParenLoc (SourceLocation L)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Detailed Description

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

Definition at line 1089 of file Stmt.h.


Constructor & Destructor Documentation

clang::DoStmt::DoStmt ( Stmt body,
Expr cond,
SourceLocation  DL,
SourceLocation  WL,
SourceLocation  RP 
) [inline]

Definition at line 1097 of file Stmt.h.

clang::DoStmt::DoStmt ( EmptyShell  Empty) [inline, explicit]

Build an empty do-while statement.

Definition at line 1105 of file Stmt.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1130 of file Stmt.h.

static bool clang::DoStmt::classof ( const Stmt T) [inline, static]

Definition at line 1125 of file Stmt.h.

References clang::Stmt::getStmtClass().

const Stmt* clang::DoStmt::getBody ( ) const [inline]

Definition at line 1111 of file Stmt.h.

const Expr* clang::DoStmt::getCond ( ) const [inline]

Definition at line 1108 of file Stmt.h.

Definition at line 1114 of file Stmt.h.

Reimplemented from clang::Stmt.

Definition at line 1123 of file Stmt.h.

Reimplemented from clang::Stmt.

Definition at line 1122 of file Stmt.h.

Definition at line 1119 of file Stmt.h.

Definition at line 1116 of file Stmt.h.

void clang::DoStmt::setBody ( Stmt S) [inline]

Definition at line 1112 of file Stmt.h.

References S.

void clang::DoStmt::setCond ( Expr E) [inline]

Definition at line 1109 of file Stmt.h.

Definition at line 1115 of file Stmt.h.

Definition at line 1120 of file Stmt.h.

Definition at line 1117 of file Stmt.h.


The documentation for this class was generated from the following file: