mirror of
https://github.com/github/codeql.git
synced 2026-05-24 16:17:07 +02:00
KE2: Don't actually deprecate WhenBranch.getCondition() yet
It makes a lot of noise in the CFG QLL, that we aren't fixing yet
This commit is contained in:
@@ -2603,7 +2603,7 @@ class WhenBranch extends Stmt, @whenbranch {
|
||||
*
|
||||
* Gets the condition of this branch.
|
||||
*/
|
||||
deprecated Expr getCondition() {
|
||||
/* TODO: deprecated */ Expr getCondition() {
|
||||
result = this.getCondition(0).(WhenBranchConditionWithExpression).getExpression()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user