Skip to content

Commit 29a6af4

Browse files
committed
C++: Fix instruction class name
1 parent f319381 commit 29a6af4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,8 +1607,8 @@ class CompareGEInstruction extends RelationalInstruction {
16071607
/**
16081608
* An instruction that represents a three-way comparison operator.
16091609
*/
1610-
class CompareThreeWayInstruction extends BinaryInstruction {
1611-
CompareThreeWayInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
1610+
class SpaceshipInstruction extends BinaryInstruction {
1611+
SpaceshipInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
16121612
}
16131613

16141614
/**

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
@@ -1607,8 +1607,8 @@ class CompareGEInstruction extends RelationalInstruction {
16071607
/**
16081608
* An instruction that represents a three-way comparison operator.
16091609
*/
1610-
class CompareThreeWayInstruction extends BinaryInstruction {
1611-
CompareThreeWayInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
1610+
class SpaceshipInstruction extends BinaryInstruction {
1611+
SpaceshipInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
16121612
}
16131613

16141614
/**

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
@@ -1607,8 +1607,8 @@ class CompareGEInstruction extends RelationalInstruction {
16071607
/**
16081608
* An instruction that represents a three-way comparison operator.
16091609
*/
1610-
class CompareThreeWayInstruction extends BinaryInstruction {
1611-
CompareThreeWayInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
1610+
class SpaceshipInstruction extends BinaryInstruction {
1611+
SpaceshipInstruction() { this.getOpcode() instanceof Opcode::Spaceship }
16121612
}
16131613

16141614
/**

0 commit comments

Comments
 (0)