@@ -107,12 +107,6 @@ class IfStmt extends ConditionalStmt, @ifstmt {
107107 /** Gets the `then` branch of this `if` statement. */
108108 Stmt getThen ( ) { result .isNthChildOf ( this , 1 ) }
109109
110- /**
111- * Gets the statement that is executed whenever the condition
112- * of this branch statement evaluates to `true`.
113- */
114- deprecated override Stmt getTrueSuccessor ( ) { result = this .getThen ( ) }
115-
116110 /** Gets the `else` branch of this `if` statement. */
117111 Stmt getElse ( ) { result .isNthChildOf ( this , 2 ) }
118112
@@ -160,12 +154,6 @@ class ForStmt extends ConditionalStmt, @forstmt {
160154 /** Gets the body of this `for` loop. */
161155 Stmt getStmt ( ) { result .getParent ( ) = this and result .getIndex ( ) = 2 }
162156
163- /**
164- * Gets the statement that is executed whenever the condition
165- * of this branch statement evaluates to true.
166- */
167- deprecated override Stmt getTrueSuccessor ( ) { result = this .getStmt ( ) }
168-
169157 /**
170158 * Gets a variable that is used as an iteration variable: it is defined,
171159 * updated or tested in the head of the `for` statement.
@@ -224,12 +212,6 @@ class WhileStmt extends ConditionalStmt, @whilestmt {
224212 /** Gets the body of this `while` loop. */
225213 Stmt getStmt ( ) { result .getParent ( ) = this }
226214
227- /**
228- * Gets the statement that is executed whenever the condition
229- * of this branch statement evaluates to true.
230- */
231- deprecated override Stmt getTrueSuccessor ( ) { result = this .getStmt ( ) }
232-
233215 override string pp ( ) { result = "while (...) " + this .getStmt ( ) .pp ( ) }
234216
235217 override string toString ( ) { result = "while (...)" }
@@ -247,12 +229,6 @@ class DoStmt extends ConditionalStmt, @dostmt {
247229 /** Gets the body of this `do` loop. */
248230 Stmt getStmt ( ) { result .getParent ( ) = this }
249231
250- /**
251- * Gets the statement that is executed whenever the condition
252- * of this branch statement evaluates to `true`.
253- */
254- deprecated override Stmt getTrueSuccessor ( ) { result = this .getStmt ( ) }
255-
256232 override string pp ( ) { result = "do " + this .getStmt ( ) .pp ( ) + " while (...)" }
257233
258234 override string toString ( ) { result = "do ... while (...)" }
0 commit comments