Skip to content

Commit d6e4a2a

Browse files
author
AndreiDiaconu1
committed
Autoformat
1 parent 3f4713f commit d6e4a2a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

csharp/ql/src/semmle/code/csharp/ir/rangeanalysis/RangeAnalysis.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ private predicate boundedInstruction(
616616
boundedCastExpr(cast, b, delta, upper, fromBackEdge, origdelta, reason)
617617
)
618618
or
619-
exists(PropertyAccess pa |
619+
exists(PropertyAccess pa |
620620
i.(CallInstruction).getAST() = pa and
621621
pa.getProperty().getName() = "Length" and
622622
b instanceof ZeroBound and

csharp/ql/test/library-tests/ir/offbyone/buildSnap.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

csharp/ql/test/library-tests/ir/rangeanalysis/RangeAnalysis.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import semmle.code.csharp.ir.internal.IRGuards
44
import semmle.code.csharp.ir.ValueNumbering
55

66
query predicate instructionBounds(
7-
Instruction i, Bound b, int delta, boolean upper, Reason reason, Location reasonLoc
7+
Instruction i, Bound b, int delta, boolean upper, Reason reason, Location reasonLoc
88
) {
99
(
1010
i.getAUse() instanceof ArgumentOperand
@@ -23,4 +23,3 @@ query predicate instructionBounds(
2323
then reasonLoc = reason.(CondReason).getCond().getLocation()
2424
else reasonLoc instanceof EmptyLocation
2525
}
26-

0 commit comments

Comments
 (0)