Skip to content

Commit fd40662

Browse files
smowtonowen-mc
authored andcommitted
Rename getImplicitFieldReadInstruction
1 parent e290cec commit fd40662

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,13 @@ module SourceSinkInterpretationInput implements
316316
}
317317

318318
private DataFlow::Node skipImplicitFieldReads(DataFlow::Node n) {
319-
not exists(getImplicitFieldReadInstruction(n)) and result = n
319+
not exists(lookThroughImplicitFieldRead(n)) and result = n
320320
or
321-
result = skipImplicitFieldReads(getImplicitFieldReadInstruction(n))
321+
result = skipImplicitFieldReads(lookThroughImplicitFieldRead(n))
322322
}
323323

324324
pragma[inline]
325-
private DataFlow::Node getImplicitFieldReadInstruction(DataFlow::Node n) {
325+
private DataFlow::Node lookThroughImplicitFieldRead(DataFlow::Node n) {
326326
result.asInstruction() =
327327
n.(DataFlow::InstructionNode)
328328
.asInstruction()

0 commit comments

Comments
 (0)