File tree Expand file tree Collapse file tree 5 files changed +0
-45
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/semmle/code/csharp/ir/implementation Expand file tree Collapse file tree 5 files changed +0
-45
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
2222 exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
2323}
2424
25- /**
26- * Override of `IRConfiguration` to only create IR for the functions that are to be dumped.
27- */
28- private class FilteredIRConfiguration extends IRConfiguration {
29- override predicate shouldCreateIRForFunction ( Language:: Function func ) {
30- shouldPrintFunction ( func )
31- }
32- }
33-
3425private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
3526 exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
3627}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
2222 exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
2323}
2424
25- /**
26- * Override of `IRConfiguration` to only create IR for the functions that are to be dumped.
27- */
28- private class FilteredIRConfiguration extends IRConfiguration {
29- override predicate shouldCreateIRForFunction ( Language:: Function func ) {
30- shouldPrintFunction ( func )
31- }
32- }
33-
3425private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
3526 exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
3627}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
2222 exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
2323}
2424
25- /**
26- * Override of `IRConfiguration` to only create IR for the functions that are to be dumped.
27- */
28- private class FilteredIRConfiguration extends IRConfiguration {
29- override predicate shouldCreateIRForFunction ( Language:: Function func ) {
30- shouldPrintFunction ( func )
31- }
32- }
33-
3425private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
3526 exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
3627}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
2222 exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
2323}
2424
25- /**
26- * Override of `IRConfiguration` to only create IR for the functions that are to be dumped.
27- */
28- private class FilteredIRConfiguration extends IRConfiguration {
29- override predicate shouldCreateIRForFunction ( Language:: Function func ) {
30- shouldPrintFunction ( func )
31- }
32- }
33-
3425private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
3526 exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
3627}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
2222 exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
2323}
2424
25- /**
26- * Override of `IRConfiguration` to only create IR for the functions that are to be dumped.
27- */
28- private class FilteredIRConfiguration extends IRConfiguration {
29- override predicate shouldCreateIRForFunction ( Language:: Function func ) {
30- shouldPrintFunction ( func )
31- }
32- }
33-
3425private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
3526 exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
3627}
You can’t perform that action at this time.
0 commit comments