Skip to content

Commit 1f7e6bc

Browse files
committed
C++: Make IRBlock final
1 parent 1507c88 commit 1f7e6bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class IRBlockBase extends TIRBlock {
121121
* corresponds to the control flow between the last instruction of one block and the first
122122
* instruction of another block.
123123
*/
124-
class IRBlock extends IRBlockBase {
124+
final class IRBlock extends IRBlockBase {
125125
/**
126126
* Gets a block to which control flows directly from this block.
127127
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class IRBlockBase extends TIRBlock {
121121
* corresponds to the control flow between the last instruction of one block and the first
122122
* instruction of another block.
123123
*/
124-
class IRBlock extends IRBlockBase {
124+
final class IRBlock extends IRBlockBase {
125125
/**
126126
* Gets a block to which control flows directly from this block.
127127
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class IRBlockBase extends TIRBlock {
121121
* corresponds to the control flow between the last instruction of one block and the first
122122
* instruction of another block.
123123
*/
124-
class IRBlock extends IRBlockBase {
124+
final class IRBlock extends IRBlockBase {
125125
/**
126126
* Gets a block to which control flows directly from this block.
127127
*/

0 commit comments

Comments
 (0)