Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h188 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts() function
189 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts() function
213 const Stmt *getTryBody() const { return getStmts()[0]; } in getTryBody()
214 Stmt *getTryBody() { return getStmts()[0]; } in getTryBody()
215 void setTryBody(Stmt *S) { getStmts()[0] = S; } in setTryBody()
224 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
230 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
236 getStmts()[I + 1] = S; in setCatchStmt()
244 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]); in getFinallyStmt()
250 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]); in getFinallyStmt()
[all …]
H A DStmtCXX.h83 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts() function
84 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts() function
97 return getStmts()[NumHandlers]->getEndLoc(); in getEndLoc()
101 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
104 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
109 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
112 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
120 return child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
124 return const_child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp36 Stmt **Stmts = getStmts(); in ObjCAtTryStmt()
H A DStmtCXX.cpp43 Stmt **Stmts = getStmts(); in CXXTryStmt()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1684 S->getStmts()[0] = Record.readSubStmt(); in VisitCXXTryStmt()
1686 S->getStmts()[i + 1] = Record.readSubStmt(); in VisitCXXTryStmt()