Skip to content

Commit 86a7c48

Browse files
committed
Rust: "control-flow" -> "control flow"
1 parent be7aca9 commit 86a7c48

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

misc/codegen/templates/ql_cfg_nodes.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ module MakeCfgNodes<LocationSig Loc, InputSig<Loc> Input> {
5757
}
5858

5959
/**
60-
* Holds if there is a control-flow path from `cfn` to `cfnChild`, where `cfn`
61-
* is a control-flow node for this AST node, and `cfnChild` is a control-flow
60+
* Holds if there is a control flow path from `cfn` to `cfnChild`, where `cfn`
61+
* is a control flow node for this AST node, and `cfnChild` is a control flow
6262
* node for `child`.
6363
*
6464
* This predicate should be implemented at the place where `MakeCfgNodes` is

rust/ql/.generated.list

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/controlflow/internal/ControlFlowGraphImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ private module CfgInput implements InputSig<Location> {
1919

2020
predicate completionIsValidFor = C::completionIsValidFor/2;
2121

22-
/** An AST node with an associated control-flow graph. */
22+
/** An AST node with an associated control flow graph. */
2323
class CfgScope = Scope::CfgScope;
2424

2525
CfgScope getCfgScope(AstNode n) {

rust/ql/lib/codeql/rust/controlflow/internal/Scope.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ private import ControlFlowGraphImpl
44
private import codeql.rust.elements.internal.generated.ParentChild
55

66
/**
7-
* A control-flow graph (CFG) scope.
7+
* A control flow graph (CFG) scope.
88
*/
99
abstract private class CfgScopeImpl extends AstNode {
1010
/** Holds if `first` is executed first when entering `scope`. */

rust/ql/lib/codeql/rust/controlflow/internal/generated/CfgNodes.qll

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/dataflow/Ssa.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Ssa {
2727
}
2828

2929
/**
30-
* Gets a control-flow node that reads the value of this SSA definition.
30+
* Gets a control flow node that reads the value of this SSA definition.
3131
*
3232
* Example:
3333
*
@@ -54,7 +54,7 @@ module Ssa {
5454
final CfgNode getARead() { result = SsaImpl::getARead(this) }
5555

5656
/**
57-
* Gets a first control-flow node that reads the value of this SSA definition.
57+
* Gets a first control flow node that reads the value of this SSA definition.
5858
* That is, a read that can be reached from this definition without passing
5959
* through other reads.
6060
*
@@ -83,7 +83,7 @@ module Ssa {
8383
final CfgNode getAFirstRead() { SsaImpl::firstRead(this, result) }
8484

8585
/**
86-
* Gets a last control-flow node that reads the value of this SSA definition.
86+
* Gets a last control flow node that reads the value of this SSA definition.
8787
* That is, a read that can reach the end of the enclosing CFG scope, or another
8888
* SSA definition for the source variable, without passing through any other read.
8989
*

rust/ql/lib/codeql/rust/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module Node {
128128
* A node in the data flow graph that corresponds to an expression in the
129129
* AST.
130130
*
131-
* Note that because of control-flow splitting, one `Expr` may correspond
131+
* Note that because of control flow splitting, one `Expr` may correspond
132132
* to multiple `ExprNode`s, just like it may correspond to multiple
133133
* `ControlFlow::Node`s.
134134
*/

rust/ql/lib/codeql/rust/elements/internal/AstNodeImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ module Impl {
6565
}
6666

6767
/**
68-
* Gets a control-flow node for this AST node, if any.
68+
* Gets a control flow node for this AST node, if any.
6969
*
70-
* Note that because of _control-flow splitting_, one `AstNode` node may correspond
70+
* Note that because of _control flow splitting_, one `AstNode` node may correspond
7171
* to multiple `CfgNode`s. Example:
7272
*
7373
* ```rust

0 commit comments

Comments
 (0)