Skip to content

Commit 6dc02c7

Browse files
author
Dave Bartolomeo
committed
C++: Fix typos
1 parent 2685aa4 commit 6dc02c7

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
675675
ReturnIndirectionInstruction() { getOpcode() instanceof Opcode::ReturnIndirection }
676676

677677
/**
678-
* Gets the operand that provides the value of the pointed-to memory..
678+
* Gets the operand that provides the value of the pointed-to memory.
679679
*/
680680
final SideEffectOperand getSideEffectOperand() { result = getAnOperand() }
681681

@@ -812,7 +812,7 @@ class ConditionalBranchInstruction extends Instruction {
812812
*
813813
* Each `IRFunction` has exactly one `ExitFunction` instruction, unless the function neither returns
814814
* nor throws an exception. Control flows to the `ExitFunction` instruction from both normal returns
815-
* (`ReturnVoid`, `ReturnValue`) and proagated exceptions (`Unwind`). This instruction has no
815+
* (`ReturnVoid`, `ReturnValue`) and propagated exceptions (`Unwind`). This instruction has no
816816
* successors.
817817
*/
818818
class ExitFunctionInstruction extends Instruction {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
675675
ReturnIndirectionInstruction() { getOpcode() instanceof Opcode::ReturnIndirection }
676676

677677
/**
678-
* Gets the operand that provides the value of the pointed-to memory..
678+
* Gets the operand that provides the value of the pointed-to memory.
679679
*/
680680
final SideEffectOperand getSideEffectOperand() { result = getAnOperand() }
681681

@@ -812,7 +812,7 @@ class ConditionalBranchInstruction extends Instruction {
812812
*
813813
* Each `IRFunction` has exactly one `ExitFunction` instruction, unless the function neither returns
814814
* nor throws an exception. Control flows to the `ExitFunction` instruction from both normal returns
815-
* (`ReturnVoid`, `ReturnValue`) and proagated exceptions (`Unwind`). This instruction has no
815+
* (`ReturnVoid`, `ReturnValue`) and propagated exceptions (`Unwind`). This instruction has no
816816
* successors.
817817
*/
818818
class ExitFunctionInstruction extends Instruction {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
675675
ReturnIndirectionInstruction() { getOpcode() instanceof Opcode::ReturnIndirection }
676676

677677
/**
678-
* Gets the operand that provides the value of the pointed-to memory..
678+
* Gets the operand that provides the value of the pointed-to memory.
679679
*/
680680
final SideEffectOperand getSideEffectOperand() { result = getAnOperand() }
681681

@@ -812,7 +812,7 @@ class ConditionalBranchInstruction extends Instruction {
812812
*
813813
* Each `IRFunction` has exactly one `ExitFunction` instruction, unless the function neither returns
814814
* nor throws an exception. Control flows to the `ExitFunction` instruction from both normal returns
815-
* (`ReturnVoid`, `ReturnValue`) and proagated exceptions (`Unwind`). This instruction has no
815+
* (`ReturnVoid`, `ReturnValue`) and propagated exceptions (`Unwind`). This instruction has no
816816
* successors.
817817
*/
818818
class ExitFunctionInstruction extends Instruction {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
675675
ReturnIndirectionInstruction() { getOpcode() instanceof Opcode::ReturnIndirection }
676676

677677
/**
678-
* Gets the operand that provides the value of the pointed-to memory..
678+
* Gets the operand that provides the value of the pointed-to memory.
679679
*/
680680
final SideEffectOperand getSideEffectOperand() { result = getAnOperand() }
681681

@@ -812,7 +812,7 @@ class ConditionalBranchInstruction extends Instruction {
812812
*
813813
* Each `IRFunction` has exactly one `ExitFunction` instruction, unless the function neither returns
814814
* nor throws an exception. Control flows to the `ExitFunction` instruction from both normal returns
815-
* (`ReturnVoid`, `ReturnValue`) and proagated exceptions (`Unwind`). This instruction has no
815+
* (`ReturnVoid`, `ReturnValue`) and propagated exceptions (`Unwind`). This instruction has no
816816
* successors.
817817
*/
818818
class ExitFunctionInstruction extends Instruction {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
675675
ReturnIndirectionInstruction() { getOpcode() instanceof Opcode::ReturnIndirection }
676676

677677
/**
678-
* Gets the operand that provides the value of the pointed-to memory..
678+
* Gets the operand that provides the value of the pointed-to memory.
679679
*/
680680
final SideEffectOperand getSideEffectOperand() { result = getAnOperand() }
681681

@@ -812,7 +812,7 @@ class ConditionalBranchInstruction extends Instruction {
812812
*
813813
* Each `IRFunction` has exactly one `ExitFunction` instruction, unless the function neither returns
814814
* nor throws an exception. Control flows to the `ExitFunction` instruction from both normal returns
815-
* (`ReturnVoid`, `ReturnValue`) and proagated exceptions (`Unwind`). This instruction has no
815+
* (`ReturnVoid`, `ReturnValue`) and propagated exceptions (`Unwind`). This instruction has no
816816
* successors.
817817
*/
818818
class ExitFunctionInstruction extends Instruction {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

0 commit comments

Comments
 (0)