Skip to content

Commit 15f41c0

Browse files
author
Dave Bartolomeo
committed
C++/C#: Remove dead QL code
1 parent bbadf4b commit 15f41c0

4 files changed

Lines changed: 0 additions & 31 deletions

File tree

cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/internal/SSAConstruction.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ private module Cached {
3838
cached
3939
OldInstruction getOldInstruction(Instruction instr) { instr = result }
4040

41-
private IRVariable getNewIRVariable(OldIR::IRVariable var) {
42-
// This is just a type cast. Both classes derive from the same newtype.
43-
result = var
44-
}
45-
4641
cached
4742
predicate hasModeledMemoryResult(Instruction instruction) {
4843
exists(Alias::getResultMemoryLocation(getOldInstruction(instruction))) or

cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/internal/SSAConstruction.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ private module Cached {
3838
cached
3939
OldInstruction getOldInstruction(Instruction instr) { instr = result }
4040

41-
private IRVariable getNewIRVariable(OldIR::IRVariable var) {
42-
// This is just a type cast. Both classes derive from the same newtype.
43-
result = var
44-
}
45-
4641
cached
4742
predicate hasModeledMemoryResult(Instruction instruction) {
4843
exists(Alias::getResultMemoryLocation(getOldInstruction(instruction))) or

csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/internal/SSAConstruction.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ private module Cached {
3838
cached
3939
OldInstruction getOldInstruction(Instruction instr) { instr = result }
4040

41-
private IRVariable getNewIRVariable(OldIR::IRVariable var) {
42-
// This is just a type cast. Both classes derive from the same newtype.
43-
result = var
44-
}
45-
4641
cached
4742
predicate hasModeledMemoryResult(Instruction instruction) {
4843
exists(Alias::getResultMemoryLocation(getOldInstruction(instruction))) or

csharp/ql/src/semmle/code/csharp/ir/internal/TIRVariable.qll

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)