Skip to content

Commit 70465b2

Browse files
committed
Shared: Remove @ annotations.
1 parent 98289b5 commit 70465b2

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

shared/dataflow/codeql/dataflow/DataFlow.qll

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ signature module InputSig {
5050
*/
5151
class PostUpdateNode extends Node {
5252
/**
53-
* Gets the node that represents the same value prior to the operation.
54-
*
55-
* @return The pre-update node.
53+
* Gets the pre-update node, that is, the node that represents the same
54+
* value prior to the operation.
5655
*/
5756
Node getPreUpdateNode();
5857
}
@@ -153,9 +152,7 @@ signature module InputSig {
153152
}
154153

155154
/**
156-
* Holds if high precision should be used for the given content.
157-
*
158-
* @param c The content to force high precision for.
155+
* Holds if high precision should be used for the content `c`.
159156
*/
160157
predicate forceHighPrecision(Content c);
161158

@@ -199,16 +196,13 @@ signature module InputSig {
199196
}
200197

201198
/**
202-
* Holds if the given parameter position matches the argument position.
203-
*
204-
* @param ppos The parameter position.
199+
* Holds if the parameter position `ppos` matches the argument position
200+
* `apos`.
205201
*/
206202
predicate parameterMatch(ParameterPosition ppos, ArgumentPosition apos);
207203

208204
/**
209-
* Holds if there is a simple local flow step between two nodes.
210-
*
211-
* @param node1 The first node in the flow step.
205+
* Holds if there is a simple local flow step from `node1` to `node2`.
212206
*/
213207
predicate simpleLocalFlowStep(Node node1, Node node2);
214208

shared/rangeanalysis/codeql/rangeanalysis/RangeAnalysis.qll

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ signature module Semantic {
189189
* Console.WriteLine("x is greater than y");
190190
* }
191191
* ```
192-
*
193-
* @param controlled The basic block to check.
194192
*/
195193
predicate directlyControls(BasicBlock controlled, boolean branch);
196194

@@ -213,8 +211,6 @@ signature module Semantic {
213211
* printf("x is not greater than y\n");
214212
* }
215213
* ```
216-
*
217-
* @param bb1 The first basic block.
218214
*/
219215
predicate hasBranchEdge(BasicBlock bb1, BasicBlock bb2, boolean branch);
220216
}
@@ -280,9 +276,8 @@ signature module Semantic {
280276
*/
281277
class SsaExplicitUpdate extends SsaVariable {
282278
/**
283-
* Gets the expression that defines the value of the variable in this update.
284-
*
285-
* @return The defining expression.
279+
* Gets the expression that defines the value of the variable in this
280+
* update.
286281
*/
287282
Expr getDefiningExpr();
288283
}
@@ -391,8 +386,6 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
391386

392387
/**
393388
* Gets the expression associated with the semantic bound, given a delta.
394-
*
395-
* @param delta - The delta value.
396389
*/
397390
Sem::Expr getExpr(D::Delta delta);
398391
}

0 commit comments

Comments
 (0)