File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,9 @@ module IRCfg implements BB::CfgSig<Language::Location> {
269
269
270
270
class SuccessorType = EdgeKind ;
271
271
272
- class BasicBlock extends IRBlock {
272
+ final private class FinalIRBlock = IRBlock ;
273
+
274
+ class BasicBlock extends FinalIRBlock {
273
275
ControlFlowNode getNode ( int i ) { result = this .getInstruction ( i ) }
274
276
275
277
ControlFlowNode getLastNode ( ) { result = super .getLastInstruction ( ) }
Original file line number Diff line number Diff line change @@ -269,7 +269,9 @@ module IRCfg implements BB::CfgSig<Language::Location> {
269
269
270
270
class SuccessorType = EdgeKind ;
271
271
272
- class BasicBlock extends IRBlock {
272
+ final private class FinalIRBlock = IRBlock ;
273
+
274
+ class BasicBlock extends FinalIRBlock {
273
275
ControlFlowNode getNode ( int i ) { result = this .getInstruction ( i ) }
274
276
275
277
ControlFlowNode getLastNode ( ) { result = super .getLastInstruction ( ) }
Original file line number Diff line number Diff line change @@ -269,7 +269,9 @@ module IRCfg implements BB::CfgSig<Language::Location> {
269
269
270
270
class SuccessorType = EdgeKind ;
271
271
272
- class BasicBlock extends IRBlock {
272
+ final private class FinalIRBlock = IRBlock ;
273
+
274
+ class BasicBlock extends FinalIRBlock {
273
275
ControlFlowNode getNode ( int i ) { result = this .getInstruction ( i ) }
274
276
275
277
ControlFlowNode getLastNode ( ) { result = super .getLastInstruction ( ) }
You can’t perform that action at this time.
0 commit comments