Skip to content

Commit a8ad67e

Browse files
committed
Guards: Rename module.
1 parent 439872b commit a8ad67e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

shared/controlflow/codeql/controlflow/Guards.qll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
901901
or
902902
exists(Guard g0, GuardValue v0 |
903903
guardControls(g0, v0, tgtGuard, tgtVal) and
904-
CustomGuard::additionalImpliesStep(g0, v0, guard, v)
904+
WrapperGuard::additionalImpliesStep(g0, v0, guard, v)
905905
)
906906
or
907907
exists(Guard g0, GuardValue v0 |
@@ -947,7 +947,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
947947
*/
948948
predicate nullGuard(Guard guard, GuardValue v, Expr e, boolean isNull) {
949949
impliesStep2(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
950-
CustomGuard::additionalImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
950+
WrapperGuard::additionalImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
951951
additionalImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull)))
952952
}
953953

@@ -992,10 +992,9 @@ module Make<LocationSig Location, InputSig<Location> Input> {
992992

993993
/**
994994
* Provides an implementation of guard implication logic for custom
995-
* wrappers. This can be used to instantiate the `additionalImpliesStep`
996-
* predicate.
995+
* wrappers.
997996
*/
998-
private module CustomGuard {
997+
private module WrapperGuard {
999998
final private class FinalExpr = Expr;
1000999

10011000
private class ReturnExpr extends FinalExpr {

0 commit comments

Comments
 (0)