Skip to content

Commit 35baff8

Browse files
committed
C#/C++: Sync identical files.
1 parent 5969c22 commit 35baff8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,12 +1856,12 @@ class InitializeDynamicAllocationInstruction extends SideEffectInstruction {
18561856
}
18571857

18581858
/**
1859-
* Gets the address of the allocation this instruction is initializing.
1859+
* Gets the operand of the allocation this instruction is initializing.
18601860
*/
18611861
final AddressOperand getAllocationAddressOperand() { result = getAnOperand() }
18621862

18631863
/**
1864-
* Gets the operand for the allocation this instruction is initializing.
1864+
* Gets the address for the allocation this instruction is initializing.
18651865
*/
18661866
final Instruction getAllocationAddress() { result = getAllocationAddressOperand().getDef() }
18671867
}

cpp/ql/lib/semmle/code/cpp/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,12 +1856,12 @@ class InitializeDynamicAllocationInstruction extends SideEffectInstruction {
18561856
}
18571857

18581858
/**
1859-
* Gets the address of the allocation this instruction is initializing.
1859+
* Gets the operand of the allocation this instruction is initializing.
18601860
*/
18611861
final AddressOperand getAllocationAddressOperand() { result = getAnOperand() }
18621862

18631863
/**
1864-
* Gets the operand for the allocation this instruction is initializing.
1864+
* Gets the address for the allocation this instruction is initializing.
18651865
*/
18661866
final Instruction getAllocationAddress() { result = getAllocationAddressOperand().getDef() }
18671867
}

csharp/ql/src/experimental/ir/implementation/raw/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,12 +1856,12 @@ class InitializeDynamicAllocationInstruction extends SideEffectInstruction {
18561856
}
18571857

18581858
/**
1859-
* Gets the address of the allocation this instruction is initializing.
1859+
* Gets the operand of the allocation this instruction is initializing.
18601860
*/
18611861
final AddressOperand getAllocationAddressOperand() { result = getAnOperand() }
18621862

18631863
/**
1864-
* Gets the operand for the allocation this instruction is initializing.
1864+
* Gets the address for the allocation this instruction is initializing.
18651865
*/
18661866
final Instruction getAllocationAddress() { result = getAllocationAddressOperand().getDef() }
18671867
}

csharp/ql/src/experimental/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,12 +1856,12 @@ class InitializeDynamicAllocationInstruction extends SideEffectInstruction {
18561856
}
18571857

18581858
/**
1859-
* Gets the address of the allocation this instruction is initializing.
1859+
* Gets the operand of the allocation this instruction is initializing.
18601860
*/
18611861
final AddressOperand getAllocationAddressOperand() { result = getAnOperand() }
18621862

18631863
/**
1864-
* Gets the operand for the allocation this instruction is initializing.
1864+
* Gets the address for the allocation this instruction is initializing.
18651865
*/
18661866
final Instruction getAllocationAddress() { result = getAllocationAddressOperand().getDef() }
18671867
}

0 commit comments

Comments
 (0)