Home
last modified time | relevance | path

Searched refs:getStmts (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/AST/
DStmtObjC.h170 Stmt **getStmts() { return reinterpret_cast<Stmt **> (this + 1); } in getStmts() function
171 const Stmt* const *getStmts() const { in getStmts() function
197 const Stmt *getTryBody() const { return getStmts()[0]; } in getTryBody()
198 Stmt *getTryBody() { return getStmts()[0]; } in getTryBody()
199 void setTryBody(Stmt *S) { getStmts()[0] = S; } in setTryBody()
208 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
214 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
220 getStmts()[I + 1] = S; in setCatchStmt()
228 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]); in getFinallyStmt()
234 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]); in getFinallyStmt()
[all …]
DStmtCXX.h74 Stmt const * const *getStmts() const { in getStmts() function
77 Stmt **getStmts() { in getStmts() function
93 return getStmts()[NumHandlers]->getLocEnd(); in getEndLoc()
97 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
100 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
105 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
108 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
116 return child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
/external/clang/lib/AST/
DStmtObjC.cpp37 Stmt **Stmts = getStmts(); in ObjCAtTryStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1194 S->getStmts()[0] = Reader.ReadSubStmt(); in VisitCXXTryStmt()
1196 S->getStmts()[i + 1] = Reader.ReadSubStmt(); in VisitCXXTryStmt()