diff --git a/cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/PrintIR.qll b/cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/PrintIR.qll index ff9c557601c..5849f438fbc 100644 --- a/cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/PrintIR.qll +++ b/cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/PrintIR.qll @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) { exists(PrintIRConfiguration config | config.shouldPrintFunction(func)) } -/** - * Override of `IRConfiguration` to only create IR for the functions that are to be dumped. - */ -private class FilteredIRConfiguration extends IRConfiguration { - override predicate shouldCreateIRForFunction(Language::Function func) { - shouldPrintFunction(func) - } -} - private string getAdditionalInstructionProperty(Instruction instr, string key) { exists(IRPropertyProvider provider | result = provider.getInstructionProperty(instr, key)) } diff --git a/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/PrintIR.qll b/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/PrintIR.qll index ff9c557601c..5849f438fbc 100644 --- a/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/PrintIR.qll +++ b/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/PrintIR.qll @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) { exists(PrintIRConfiguration config | config.shouldPrintFunction(func)) } -/** - * Override of `IRConfiguration` to only create IR for the functions that are to be dumped. - */ -private class FilteredIRConfiguration extends IRConfiguration { - override predicate shouldCreateIRForFunction(Language::Function func) { - shouldPrintFunction(func) - } -} - private string getAdditionalInstructionProperty(Instruction instr, string key) { exists(IRPropertyProvider provider | result = provider.getInstructionProperty(instr, key)) } diff --git a/cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/PrintIR.qll b/cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/PrintIR.qll index ff9c557601c..5849f438fbc 100644 --- a/cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/PrintIR.qll +++ b/cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/PrintIR.qll @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) { exists(PrintIRConfiguration config | config.shouldPrintFunction(func)) } -/** - * Override of `IRConfiguration` to only create IR for the functions that are to be dumped. - */ -private class FilteredIRConfiguration extends IRConfiguration { - override predicate shouldCreateIRForFunction(Language::Function func) { - shouldPrintFunction(func) - } -} - private string getAdditionalInstructionProperty(Instruction instr, string key) { exists(IRPropertyProvider provider | result = provider.getInstructionProperty(instr, key)) } diff --git a/csharp/ql/src/semmle/code/csharp/ir/implementation/raw/PrintIR.qll b/csharp/ql/src/semmle/code/csharp/ir/implementation/raw/PrintIR.qll index ff9c557601c..5849f438fbc 100644 --- a/csharp/ql/src/semmle/code/csharp/ir/implementation/raw/PrintIR.qll +++ b/csharp/ql/src/semmle/code/csharp/ir/implementation/raw/PrintIR.qll @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) { exists(PrintIRConfiguration config | config.shouldPrintFunction(func)) } -/** - * Override of `IRConfiguration` to only create IR for the functions that are to be dumped. - */ -private class FilteredIRConfiguration extends IRConfiguration { - override predicate shouldCreateIRForFunction(Language::Function func) { - shouldPrintFunction(func) - } -} - private string getAdditionalInstructionProperty(Instruction instr, string key) { exists(IRPropertyProvider provider | result = provider.getInstructionProperty(instr, key)) } diff --git a/csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/PrintIR.qll b/csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/PrintIR.qll index ff9c557601c..5849f438fbc 100644 --- a/csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/PrintIR.qll +++ b/csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/PrintIR.qll @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) { exists(PrintIRConfiguration config | config.shouldPrintFunction(func)) } -/** - * Override of `IRConfiguration` to only create IR for the functions that are to be dumped. - */ -private class FilteredIRConfiguration extends IRConfiguration { - override predicate shouldCreateIRForFunction(Language::Function func) { - shouldPrintFunction(func) - } -} - private string getAdditionalInstructionProperty(Instruction instr, string key) { exists(IRPropertyProvider provider | result = provider.getInstructionProperty(instr, key)) }