From 9800e3f930b70a58e7f434ae75d975ab77af0f92 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Thu, 25 Feb 2021 13:43:36 +0100 Subject: [PATCH] Add some TODO comments --- .../codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ql/src/codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll b/ql/src/codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll index 4e7b48c3214..dd1d30430b2 100644 --- a/ql/src/codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll +++ b/ql/src/codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll @@ -308,10 +308,12 @@ abstract private class PreOrderTree extends ControlFlowTree { final override predicate first(AstNode first) { first = this } } +// TODO: remove this class; it should be replaced with an implicit non AST node class InRange extends ASTInternal::AstNode::Range, @in { final override string toString() { result = "In" } } +// TODO: remove this class; it should be replaced with an implicit non AST node class ForRange extends Control::ForExpr::Range, @for { override predicate child(string label, ASTInternal::AstNode::Range child) { Control::ForExpr::Range.super.child(label, child)