Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h82 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts() function
83 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts() function
96 return getStmts()[NumHandlers]->getEndLoc(); in getEndLoc()
100 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
103 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
108 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
111 return cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
119 return child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
123 return const_child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtObjC.cpp36 Stmt **Stmts = getStmts(); in ObjCAtTryStmt()
H A DStmtCXX.cpp42 Stmt **Stmts = getStmts(); in CXXTryStmt()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp1642 S->getStmts()[0] = Record.readSubStmt(); in VisitCXXTryStmt()
1644 S->getStmts()[i + 1] = Record.readSubStmt(); in VisitCXXTryStmt()