File tree Expand file tree Collapse file tree 7 files changed +0
-54
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 7 files changed +0
-54
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,6 @@ class Instruction extends Construction::TStageInstruction {
210
210
*/
211
211
final Language:: AST getAst ( ) { result = Construction:: getInstructionAst ( this ) }
212
212
213
- /** DEPRECATED: Alias for getAst */
214
- deprecated Language:: AST getAST ( ) { result = this .getAst ( ) }
215
-
216
213
/**
217
214
* Gets the location of the source code for this instruction.
218
215
*/
@@ -463,9 +460,6 @@ class VariableInstruction extends Instruction {
463
460
* Gets the AST variable that this instruction's IR variable refers to, if one exists.
464
461
*/
465
462
final Language:: Variable getAstVariable ( ) { result = var .( IRUserVariable ) .getVariable ( ) }
466
-
467
- /** DEPRECATED: Alias for getAstVariable */
468
- deprecated Language:: Variable getASTVariable ( ) { result = this .getAstVariable ( ) }
469
463
}
470
464
471
465
/**
Original file line number Diff line number Diff line change @@ -422,12 +422,6 @@ private module Cached {
422
422
)
423
423
}
424
424
425
- /** DEPRECATED: Alias for getInstructionAst */
426
- cached
427
- deprecated Language:: AST getInstructionAST ( Instruction instr ) {
428
- result = getInstructionAst ( instr )
429
- }
430
-
431
425
cached
432
426
Language:: LanguageType getInstructionResultType ( Instruction instr ) {
433
427
result = instr .( RawIR:: Instruction ) .getResultLanguageType ( )
@@ -993,9 +987,6 @@ predicate canReuseSsaForMemoryResult(Instruction instruction) {
993
987
// We don't support reusing SSA for any location that could create a `Chi` instruction.
994
988
}
995
989
996
- /** DEPRECATED: Alias for canReuseSsaForMemoryResult */
997
- deprecated predicate canReuseSSAForMemoryResult = canReuseSsaForMemoryResult / 1 ;
998
-
999
990
/**
1000
991
* Expose some of the internal predicates to PrintSSA.qll. We do this by publicly importing those modules in the
1001
992
* `DebugSsa` module, which is then imported by PrintSSA.
@@ -1005,9 +996,6 @@ module DebugSsa {
1005
996
import DefUse
1006
997
}
1007
998
1008
- /** DEPRECATED: Alias for DebugSsa */
1009
- deprecated module DebugSSA = DebugSsa;
1010
-
1011
999
import CachedForDebugging
1012
1000
1013
1001
cached
Original file line number Diff line number Diff line change @@ -73,9 +73,6 @@ module UnaliasedSsaInstructions {
73
73
}
74
74
}
75
75
76
- /** DEPRECATED: Alias for UnaliasedSsaInstructions */
77
- deprecated module UnaliasedSSAInstructions = UnaliasedSsaInstructions;
78
-
79
76
/**
80
77
* Provides wrappers for the constructors of each branch of `TInstruction` that is used by the
81
78
* aliased SSA stage.
@@ -107,6 +104,3 @@ module AliasedSsaInstructions {
107
104
result = TAliasedSsaUnreachedInstruction ( irFunc )
108
105
}
109
106
}
110
-
111
- /** DEPRECATED: Alias for AliasedSsaInstructions */
112
- deprecated module AliasedSSAInstructions = AliasedSsaInstructions;
Original file line number Diff line number Diff line change @@ -210,9 +210,6 @@ class Instruction extends Construction::TStageInstruction {
210
210
*/
211
211
final Language:: AST getAst ( ) { result = Construction:: getInstructionAst ( this ) }
212
212
213
- /** DEPRECATED: Alias for getAst */
214
- deprecated Language:: AST getAST ( ) { result = this .getAst ( ) }
215
-
216
213
/**
217
214
* Gets the location of the source code for this instruction.
218
215
*/
@@ -463,9 +460,6 @@ class VariableInstruction extends Instruction {
463
460
* Gets the AST variable that this instruction's IR variable refers to, if one exists.
464
461
*/
465
462
final Language:: Variable getAstVariable ( ) { result = var .( IRUserVariable ) .getVariable ( ) }
466
-
467
- /** DEPRECATED: Alias for getAstVariable */
468
- deprecated Language:: Variable getASTVariable ( ) { result = this .getAstVariable ( ) }
469
463
}
470
464
471
465
/**
Original file line number Diff line number Diff line change @@ -210,9 +210,6 @@ class Instruction extends Construction::TStageInstruction {
210
210
*/
211
211
final Language:: AST getAst ( ) { result = Construction:: getInstructionAst ( this ) }
212
212
213
- /** DEPRECATED: Alias for getAst */
214
- deprecated Language:: AST getAST ( ) { result = this .getAst ( ) }
215
-
216
213
/**
217
214
* Gets the location of the source code for this instruction.
218
215
*/
@@ -463,9 +460,6 @@ class VariableInstruction extends Instruction {
463
460
* Gets the AST variable that this instruction's IR variable refers to, if one exists.
464
461
*/
465
462
final Language:: Variable getAstVariable ( ) { result = var .( IRUserVariable ) .getVariable ( ) }
466
-
467
- /** DEPRECATED: Alias for getAstVariable */
468
- deprecated Language:: Variable getASTVariable ( ) { result = this .getAstVariable ( ) }
469
463
}
470
464
471
465
/**
Original file line number Diff line number Diff line change @@ -422,12 +422,6 @@ private module Cached {
422
422
)
423
423
}
424
424
425
- /** DEPRECATED: Alias for getInstructionAst */
426
- cached
427
- deprecated Language:: AST getInstructionAST ( Instruction instr ) {
428
- result = getInstructionAst ( instr )
429
- }
430
-
431
425
cached
432
426
Language:: LanguageType getInstructionResultType ( Instruction instr ) {
433
427
result = instr .( RawIR:: Instruction ) .getResultLanguageType ( )
@@ -993,9 +987,6 @@ predicate canReuseSsaForMemoryResult(Instruction instruction) {
993
987
// We don't support reusing SSA for any location that could create a `Chi` instruction.
994
988
}
995
989
996
- /** DEPRECATED: Alias for canReuseSsaForMemoryResult */
997
- deprecated predicate canReuseSSAForMemoryResult = canReuseSsaForMemoryResult / 1 ;
998
-
999
990
/**
1000
991
* Expose some of the internal predicates to PrintSSA.qll. We do this by publicly importing those modules in the
1001
992
* `DebugSsa` module, which is then imported by PrintSSA.
@@ -1005,9 +996,6 @@ module DebugSsa {
1005
996
import DefUse
1006
997
}
1007
998
1008
- /** DEPRECATED: Alias for DebugSsa */
1009
- deprecated module DebugSSA = DebugSsa;
1010
-
1011
999
import CachedForDebugging
1012
1000
1013
1001
cached
Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ predicate canReuseSsaForVariable(IRAutomaticVariable var) {
46
46
not allocationEscapes ( var )
47
47
}
48
48
49
- /** DEPRECATED: Alias for canReuseSsaForVariable */
50
- deprecated predicate canReuseSSAForVariable = canReuseSsaForVariable / 1 ;
51
-
52
49
private newtype TMemoryLocation = MkMemoryLocation ( Allocation var ) { isVariableModeled ( var ) }
53
50
54
51
private MemoryLocation getMemoryLocation ( Allocation var ) { result .getAllocation ( ) = var }
@@ -80,9 +77,6 @@ class MemoryLocation extends TMemoryLocation {
80
77
81
78
predicate canReuseSsaForOldResult ( Instruction instr ) { none ( ) }
82
79
83
- /** DEPRECATED: Alias for canReuseSsaForOldResult */
84
- deprecated predicate canReuseSSAForOldResult = canReuseSsaForOldResult / 1 ;
85
-
86
80
/**
87
81
* Represents a set of `MemoryLocation`s that cannot overlap with
88
82
* `MemoryLocation`s outside of the set. The `VirtualVariable` will be
You can’t perform that action at this time.
0 commit comments