Skip to content

Commit 243c592

Browse files
committed
Address review comments.
1 parent b942cd9 commit 243c592

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ string getMadRepresentationSpecific(SummaryComponent sc) {
212212
)
213213
}
214214

215-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
215+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
216216
string getParameterPosition(ParameterPosition pos) {
217217
result = pos.getPosition().toString()
218218
or
219219
pos.isThisParameter() and
220220
result = "this"
221221
}
222222

223-
/** Gets the textual representation of an argument position in the format used for MaD models. */
223+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
224224
string getArgumentPosition(ArgumentPosition pos) {
225225
result = pos.getPosition().toString()
226226
or

go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() =
2222
/** Gets the parameter position of the instance parameter. */
2323
ArgumentPosition callbackSelfParameterPosition() { result = -1 }
2424

25-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
25+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
2626
string getParameterPosition(ParameterPosition pos) { result = pos.toString() }
2727

28-
/** Gets the textual representation of an argument position in the format used for MaD models. */
28+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
2929
string getArgumentPosition(ArgumentPosition pos) { result = pos.toString() }
3030

3131
/** Gets the synthesized data-flow call for `receiver`. */

java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ private string positionToString(int pos) {
203203
if pos = -1 then result = "this" else result = pos.toString()
204204
}
205205

206-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
206+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
207207
string getParameterPosition(ParameterPosition pos) { result = positionToString(pos) }
208208

209-
/** Gets the textual representation of an argument position in the format used for MaD models. */
209+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
210210
string getArgumentPosition(ArgumentPosition pos) { result = positionToString(pos) }
211211

212212
/** Holds if input specification component `c` needs a reference. */

python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ string getMadRepresentationSpecific(SummaryComponent sc) {
154154
)
155155
}
156156

157-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
157+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
158158
string getParameterPosition(ParameterPosition pos) {
159159
pos.isSelf() and result = "self"
160160
or
@@ -169,7 +169,7 @@ string getParameterPosition(ParameterPosition pos) {
169169
)
170170
}
171171

172-
/** Gets the textual representation of an argument position in the format used for MaD models. */
172+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
173173
string getArgumentPosition(ArgumentPosition pos) {
174174
pos.isSelf() and result = "self"
175175
or

ruby/ql/lib/codeql/ruby/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ string getMadRepresentationSpecific(SummaryComponent sc) {
187187
)
188188
}
189189

190-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
190+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
191191
string getParameterPosition(ParameterPosition pos) {
192192
exists(int i |
193193
pos.isPositional(i) and
@@ -220,7 +220,7 @@ string getParameterPosition(ParameterPosition pos) {
220220
result = "hash-splat"
221221
}
222222

223-
/** Gets the textual representation of an argument position in the format used for MaD models. */
223+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
224224
string getArgumentPosition(ArgumentPosition pos) {
225225
pos.isSelf() and result = "self"
226226
or

swift/ql/lib/codeql/swift/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ string getMadRepresentationSpecific(SummaryComponent sc) {
122122
)
123123
}
124124

125-
/** Gets the textual representation of a parameter position in the format used for MaD models. */
125+
/** Gets the textual representation of a parameter position in the format used for flow summaries. */
126126
string getParameterPosition(ParameterPosition pos) { result = pos.toString() }
127127

128-
/** Gets the textual representation of an argument position in the format used for MaD models. */
128+
/** Gets the textual representation of an argument position in the format used for flow summaries. */
129129
string getArgumentPosition(ArgumentPosition pos) { result = pos.toString() }
130130

131131
/** Holds if input specification component `c` needs a reference. */

0 commit comments

Comments
 (0)