clang API Documentation
Represents Objective-C's collection statement. More...
#include <StmtObjC.h>


Public Member Functions | |
| ObjCForCollectionStmt (Stmt *Elem, Expr *Collect, Stmt *Body, SourceLocation FCL, SourceLocation RPL) | |
| ObjCForCollectionStmt (EmptyShell Empty) | |
| Stmt * | getElement () |
| Expr * | getCollection () |
| Stmt * | getBody () |
| const Stmt * | getElement () const |
| const Expr * | getCollection () const |
| const Stmt * | getBody () const |
| void | setElement (Stmt *S) |
| void | setCollection (Expr *E) |
| void | setBody (Stmt *S) |
| SourceLocation | getForLoc () const |
| void | setForLoc (SourceLocation Loc) |
| SourceLocation | getRParenLoc () const |
| void | setRParenLoc (SourceLocation Loc) |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Represents Objective-C's collection statement.
This is represented as 'for (element 'in' collection-expression)' stmt.
Definition at line 24 of file StmtObjC.h.
| ObjCForCollectionStmt::ObjCForCollectionStmt | ( | Stmt * | Elem, |
| Expr * | Collect, | ||
| Stmt * | Body, | ||
| SourceLocation | FCL, | ||
| SourceLocation | RPL | ||
| ) |
| clang::ObjCForCollectionStmt::ObjCForCollectionStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 32 of file StmtObjC.h.
| child_range clang::ObjCForCollectionStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 68 of file StmtObjC.h.
| static bool clang::ObjCForCollectionStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 63 of file StmtObjC.h.
References clang::Stmt::getStmtClass().
| Stmt* clang::ObjCForCollectionStmt::getBody | ( | ) | [inline] |
Definition at line 39 of file StmtObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), and isInLoopBody().
| const Stmt* clang::ObjCForCollectionStmt::getBody | ( | ) | const [inline] |
Definition at line 45 of file StmtObjC.h.
| Expr* clang::ObjCForCollectionStmt::getCollection | ( | ) | [inline] |
Definition at line 36 of file StmtObjC.h.
Referenced by assumeCollectionNonEmpty(), checkCollectionNonNil(), checkElementNonNil(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), and optimizeEdges().
| const Expr* clang::ObjCForCollectionStmt::getCollection | ( | ) | const [inline] |
Definition at line 42 of file StmtObjC.h.
| Stmt* clang::ObjCForCollectionStmt::getElement | ( | ) | [inline] |
Definition at line 35 of file StmtObjC.h.
Referenced by checkElementNonNil(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), optimizeEdges(), and clang::ento::ExprEngine::VisitObjCForCollectionStmt().
| const Stmt* clang::ObjCForCollectionStmt::getElement | ( | ) | const [inline] |
Definition at line 41 of file StmtObjC.h.
| SourceLocation clang::ObjCForCollectionStmt::getForLoc | ( | ) | const [inline] |
Definition at line 53 of file StmtObjC.h.
| SourceLocation clang::ObjCForCollectionStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 59 of file StmtObjC.h.
References clang::Stmt::getLocEnd().
| SourceLocation clang::ObjCForCollectionStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 58 of file StmtObjC.h.
| SourceLocation clang::ObjCForCollectionStmt::getRParenLoc | ( | ) | const [inline] |
Definition at line 55 of file StmtObjC.h.
| void clang::ObjCForCollectionStmt::setBody | ( | Stmt * | S | ) | [inline] |
Definition at line 51 of file StmtObjC.h.
References S.
Referenced by clang::Sema::FinishObjCForCollectionStmt().
| void clang::ObjCForCollectionStmt::setCollection | ( | Expr * | E | ) | [inline] |
Definition at line 48 of file StmtObjC.h.
| void clang::ObjCForCollectionStmt::setElement | ( | Stmt * | S | ) | [inline] |
Definition at line 47 of file StmtObjC.h.
References S.
| void clang::ObjCForCollectionStmt::setForLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 54 of file StmtObjC.h.
| void clang::ObjCForCollectionStmt::setRParenLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 56 of file StmtObjC.h.