Skip to content

Commit 7f76947

Browse files
committed
Autoformat
1 parent ae503b2 commit 7f76947

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csharp/ql/src/semmle/code/csharp/ir/implementation/raw/internal/TranslatedElement.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ predicate needsLoad(Expr expr) {
194194
* Holds if we should ignore the `Load` instruction for `expr` when generating IR.
195195
*/
196196
private predicate ignoreLoad(Expr expr) {
197-
// No load needed for the qualifier of an array access,
197+
// No load needed for the qualifier of an array access,
198198
// since we use the instruction `ElementsAddress`
199199
// to get the address of the first element in an array
200200
expr = any(ArrayAccess aa).getQualifier()

csharp/ql/src/semmle/code/csharp/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
14471447
else result instanceof Opcode::Add
14481448
)
14491449
or
1450-
expr instanceof AssignSubExpr and
1450+
expr instanceof AssignSubExpr and
14511451
(
14521452
if expr.getRValue().getType() instanceof PointerType
14531453
then result instanceof Opcode::PointerSub
@@ -1505,7 +1505,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
15051505
exists(Opcode opcode |
15061506
opcode = this.getOpcode() and
15071507
(
1508-
opcode instanceof Opcode::PointerAdd or
1508+
opcode instanceof Opcode::PointerAdd or
15091509
opcode instanceof Opcode::PointerSub
15101510
)
15111511
) and

0 commit comments

Comments
 (0)