Skip to content

Commit 7b85bb4

Browse files
committed
Shared: Autoformat.
1 parent 4367b78 commit 7b85bb4

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

shared/dataflow/codeql/dataflow/DataFlow.qll

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
/** Provides language-specific data flow parameters. */
88
signature module InputSig {
99
/**
10-
* Represents a node in the data flow graph.
11-
*/
10+
* Represents a node in the data flow graph.
11+
*/
1212
class Node {
1313
/** Gets a textual representation of this element. */
1414
string toString();
@@ -44,6 +44,7 @@ signature module InputSig {
4444
class PostUpdateNode extends Node {
4545
/**
4646
* Gets the node that represents the pre-update operation.
47+
*
4748
* @return The pre-update node.
4849
*/
4950
Node getPreUpdateNode();
@@ -169,8 +170,8 @@ signature module InputSig {
169170
}
170171

171172
/**
172-
* Represents a content approximation.
173-
*/
173+
* Represents a content approximation.
174+
*/
174175
class ContentApprox {
175176
/** Gets a textual representation of this element. */
176177
string toString();
@@ -194,15 +195,13 @@ signature module InputSig {
194195
* Holds if the given parameter position matches the argument position.
195196
*
196197
* @param ppos The parameter position.
197-
* @param apos The argument position.
198198
*/
199199
predicate parameterMatch(ParameterPosition ppos, ArgumentPosition apos);
200200

201201
/**
202202
* Holds if there is a simple local flow step between two nodes.
203203
*
204204
* @param node1 The first node in the flow step.
205-
* @param node2 The second node in the flow step.
206205
*/
207206
predicate simpleLocalFlowStep(Node node1, Node node2);
208207

shared/rangeanalysis/codeql/rangeanalysis/RangeAnalysis.qll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,24 +181,22 @@ signature module Semantic {
181181

182182
/**
183183
* Holds if the guard directly controls a given basic block.
184+
*
184185
* @param controlled The basic block to check.
185-
* @param branch Indicates if the control is a branch or not.
186186
*/
187187
predicate directlyControls(BasicBlock controlled, boolean branch);
188188

189189
/**
190190
* Holds if the guard represents an equality between two expressions.
191+
*
191192
* @param e1 The first expression.
192-
* @param e2 The second expression.
193-
* @param polarity The polarity of the equality.
194193
*/
195194
predicate isEquality(Expr e1, Expr e2, boolean polarity);
196195

197196
/**
198197
* Holds if there is a branch edge between two basic blocks.
198+
*
199199
* @param bb1 The first basic block.
200-
* @param bb2 The second basic block.
201-
* @param branch Indicates if the edge is a branch or not.
202200
*/
203201
predicate hasBranchEdge(BasicBlock bb1, BasicBlock bb2, boolean branch);
204202
}
@@ -361,6 +359,7 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
361359

362360
/**
363361
* Gets the expression associated with the semantic bound, given a delta.
362+
*
364363
* @param delta - The delta value.
365364
*/
366365
Sem::Expr getExpr(D::Delta delta);

0 commit comments

Comments
 (0)