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) {
22
22
exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
23
23
}
24
24
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
-
34
25
private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
35
26
exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
36
27
}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
22
22
exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
23
23
}
24
24
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
-
34
25
private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
35
26
exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
36
27
}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
22
22
exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
23
23
}
24
24
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
-
34
25
private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
35
26
exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
36
27
}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
22
22
exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
23
23
}
24
24
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
-
34
25
private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
35
26
exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
36
27
}
Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ private predicate shouldPrintFunction(Language::Function func) {
22
22
exists ( PrintIRConfiguration config | config .shouldPrintFunction ( func ) )
23
23
}
24
24
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
-
34
25
private string getAdditionalInstructionProperty ( Instruction instr , string key ) {
35
26
exists ( IRPropertyProvider provider | result = provider .getInstructionProperty ( instr , key ) )
36
27
}
You can’t perform that action at this time.
0 commit comments