Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h187 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts() function
188 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts() function
212 const Stmt *getTryBody() const { return getStmts()[0]; } in getTryBody()
213 Stmt *getTryBody() { return getStmts()[0]; } in getTryBody()
214 void setTryBody(Stmt *S) { getStmts()[0] = S; } in setTryBody()
223 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
229 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]); in getCatchStmt()
235 getStmts()[I + 1] = S; in setCatchStmt()
253 getStmts()[1 + NumCatchStmts] = S; in setFinallyStmt()
265 getStmts(), getStmts() + numTrailingObjects(OverloadToken<Stmt *>())); in children()
[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-14.2/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-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1677 S->getStmts()[0] = Record.readSubStmt(); in VisitCXXTryStmt()
1679 S->getStmts()[i + 1] = Record.readSubStmt(); in VisitCXXTryStmt()