Lines Matching refs:Stmt
23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D,
25 : S(Stmt), D(D), StartIndex(StartIndex), EndIndex(EndIndex) {
26 assert(Stmt && "Stmt must not be a nullptr");
28 assert(EndIndex <= Stmt->size() && "Given array too big for this Stmt");
31 StmtSequence::StmtSequence(const Stmt *Stmt, const Decl *D)
32 : S(Stmt), D(D), StartIndex(0), EndIndex(0) {}
97 /// Returns true if and only if \p Stmt contains at least one other
119 for (StmtSequence &Stmt : Group) {
120 if (!containsAnyInGroup(Stmt, OtherGroup))
192 CloneTypeIIStmtDataCollector(const Stmt *S, ASTContext &Context,
228 // Create the final hash code for the current Stmt.
232 // Copy as much as possible of the generated hash code to the Stmt's hash
240 /// Generates and saves a hash code for the given Stmt.
241 /// \param S The given Stmt.
244 /// each StmtSequence in the given Stmt.
245 /// \return The hash code of the given Stmt.
247 /// If the given Stmt is a CompoundStmt, this method will also generate
248 /// hashes for all possible StmtSequences in the children of this Stmt.
250 saveHash(const Stmt *S, const Decl *D,
260 for (const Stmt *Child : S->children()) {
320 for (const Stmt *S : Sequence) {
324 for (const Stmt *Child : S->children()) {
448 for (const Stmt *S : Seq) {
455 for (const Stmt *S : Seq.front()->children()) {
527 const Stmt *Mention) {
543 void VariablePattern::addVariables(const Stmt *S) {
557 for (const Stmt *Child : S->children()) {