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:
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:
- 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
¶DoStmt(clang::Stmt::EmptyShell Empty)
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)
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
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/Stmt.h:2558
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/Stmt.h:2554
¶static bool classof(const clang::Stmt* T)
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
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2546
¶clang::Stmt* getBody()
clang::Stmt* getBody()
Declared at: clang/include/clang/AST/Stmt.h:2535
¶const clang::Stmt* getBody() const
const clang::Stmt* getBody() const
Declared at: clang/include/clang/AST/Stmt.h:2536
¶const clang::Expr* getCond() const
const clang::Expr* getCond() const
Declared at: clang/include/clang/AST/Stmt.h:2529
¶clang::Expr* getCond()
clang::Expr* getCond()
Declared at: clang/include/clang/AST/Stmt.h:2528
¶clang::SourceLocation getDoLoc() const
clang::SourceLocation getDoLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2539
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2547
¶clang::SourceLocation getRParenLoc() const
clang::SourceLocation getRParenLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2543
¶clang::SourceLocation getWhileLoc() const
clang::SourceLocation getWhileLoc() const
Declared at: clang/include/clang/AST/Stmt.h:2541
¶void setBody(clang::Stmt* Body)
void setBody(clang::Stmt* Body)
Declared at: clang/include/clang/AST/Stmt.h:2537
Parameters
- clang::Stmt* Body
¶void setCond(clang::Expr* Cond)
void setCond(clang::Expr* Cond)
Declared at: clang/include/clang/AST/Stmt.h:2533
Parameters
- clang::Expr* Cond
¶void setDoLoc(clang::SourceLocation L)
void setDoLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2540
Parameters
¶void setRParenLoc(clang::SourceLocation L)
void setRParenLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2544
Parameters
¶void setWhileLoc(clang::SourceLocation L)
void setWhileLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:2542