Skip to content

Commit 6e730e7

Browse files
committed
Binary: Autoformat.
1 parent 66c5358 commit 6e730e7

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

binary/ql/lib/semmle/code/binary/ast/internal/CilInstructions.qll

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ abstract class CilStoreArgument extends CilInstruction { }
195195
class CilStarg_S extends @il_starg_S, CilStoreArgument { }
196196

197197
class CilLdloc_S extends @il_ldloc_S, CilLoadLocal {
198-
override int getLocalVariableIndex() {
199-
il_operand_local_index(this, result)
200-
}
198+
override int getLocalVariableIndex() { il_operand_local_index(this, result) }
201199
}
202200

203201
abstract class CilLoadLocal extends CilInstruction {
@@ -211,9 +209,7 @@ abstract class CilLoadLocal extends CilInstruction {
211209

212210
abstract class CilLoadAddressOfLocal extends CilInstruction {
213211
/** Gets the local variable index. */
214-
int getLocalVariableIndex() {
215-
il_operand_local_index(this, result)
216-
}
212+
int getLocalVariableIndex() { il_operand_local_index(this, result) }
217213

218214
/** Gets the local variable whose address this instruction loads. */
219215
CilVariable getLocalVariable() {
@@ -224,9 +220,7 @@ abstract class CilLoadAddressOfLocal extends CilInstruction {
224220
class CilLdloca_S extends @il_ldloca_S, CilLoadAddressOfLocal { }
225221

226222
class CilStloc_S extends @il_stloc_S, CilStoreLocal {
227-
override int getLocalVariableIndex() {
228-
il_operand_local_index(this, result)
229-
}
223+
override int getLocalVariableIndex() { il_operand_local_index(this, result) }
230224
}
231225

232226
class CilLdnull extends @il_ldnull, CilInstruction { }
@@ -808,9 +802,7 @@ class CilLdarga extends @il_ldarga, CilInstruction { }
808802
class CilStarg extends @il_starg, CilInstruction { }
809803

810804
class CilLdloc extends @il_ldloc, CilLoadLocal {
811-
override int getLocalVariableIndex() {
812-
il_operand_local_index(this, result)
813-
}
805+
override int getLocalVariableIndex() { il_operand_local_index(this, result) }
814806
}
815807

816808
class CilLdloca extends @il_ldloca, CilLoadAddressOfLocal { }
@@ -824,9 +816,7 @@ abstract class CilStoreLocal extends CilInstruction {
824816
}
825817

826818
class CilStloc extends @il_stloc, CilStoreLocal {
827-
override int getLocalVariableIndex() {
828-
il_operand_local_index(this, result)
829-
}
819+
override int getLocalVariableIndex() { il_operand_local_index(this, result) }
830820
}
831821

832822
class CilLocalloc extends @il_localloc, CilInstruction { }

0 commit comments

Comments
 (0)