Skip to content

Commit 13fb92a

Browse files
committed
Rename getIntermediateEmbeddedType
1 parent d3a6452 commit 13fb92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ module SourceSinkInterpretationInput implements
308308
or
309309
// `syntacticQualBaseType`'s underlying type might be a struct type and `sse`
310310
// might be a promoted method or field in it.
311-
targetType = getIntermediateEmbeddedType(e, syntacticQualBaseType.getUnderlyingType())
311+
targetType = getAnIntermediateEmbeddedType(e, syntacticQualBaseType.getUnderlyingType())
312312
)
313313
)
314314
}
@@ -327,7 +327,7 @@ module SourceSinkInterpretationInput implements
327327
* which is a promoted method or field of `st`, or its base type if it's a
328328
* pointer type.
329329
*/
330-
private Type getIntermediateEmbeddedType(Entity e, StructType st) {
330+
private Type getAnIntermediateEmbeddedType(Entity e, StructType st) {
331331
exists(Field field1, Field field2, int depth1, int depth2, Type t2 |
332332
field1 = st.getFieldAtDepth(_, depth1) and
333333
field2 = st.getFieldAtDepth(_, depth2) and

0 commit comments

Comments
 (0)