Skip to content

Commit bffa262

Browse files
committed
Shared: Make 'getAStrictAncestor' private.
1 parent a2c29fe commit bffa262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/typeflow/codeql/typeflow/internal/TypeFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ module TypeFlow<LocationSig Location, TypeFlowInput<Location> I> {
255255
* This does not include itself, unless this type is part of a cycle
256256
* in the type hierarchy.
257257
*/
258-
Type getAStrictAncestor(Type sub) { result = getAnAncestor(sub.getASupertype()) }
258+
private Type getAStrictAncestor(Type sub) { result = getAnAncestor(sub.getASupertype()) }
259259

260260
/**
261261
* Holds if we have a bound for `n` that is better than `t`.

0 commit comments

Comments
 (0)