Skip to content

Commit 31aa669

Browse files
committed
Sync files
1 parent 243dda7 commit 31aa669

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/IRConsistency.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module InstructionConsistency {
2222
abstract Language::Location getLocation();
2323
}
2424

25-
private class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
25+
class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
2626
private IRFunction irFunc;
2727

2828
PresentIRFunction() { this = TPresentIRFunction(irFunc) }
@@ -37,6 +37,8 @@ module InstructionConsistency {
3737
result =
3838
min(Language::Location loc | loc = irFunc.getLocation() | loc order by loc.toString())
3939
}
40+
41+
IRFunction getIRFunction() { result = irFunc }
4042
}
4143

4244
private class MissingIRFunction extends OptionalIRFunction, TMissingIRFunction {

cpp/ql/lib/semmle/code/cpp/ir/implementation/unaliased_ssa/IRConsistency.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module InstructionConsistency {
2222
abstract Language::Location getLocation();
2323
}
2424

25-
private class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
25+
class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
2626
private IRFunction irFunc;
2727

2828
PresentIRFunction() { this = TPresentIRFunction(irFunc) }
@@ -37,6 +37,8 @@ module InstructionConsistency {
3737
result =
3838
min(Language::Location loc | loc = irFunc.getLocation() | loc order by loc.toString())
3939
}
40+
41+
IRFunction getIRFunction() { result = irFunc }
4042
}
4143

4244
private class MissingIRFunction extends OptionalIRFunction, TMissingIRFunction {

csharp/ql/src/experimental/ir/implementation/raw/IRConsistency.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module InstructionConsistency {
2222
abstract Language::Location getLocation();
2323
}
2424

25-
private class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
25+
class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
2626
private IRFunction irFunc;
2727

2828
PresentIRFunction() { this = TPresentIRFunction(irFunc) }
@@ -37,6 +37,8 @@ module InstructionConsistency {
3737
result =
3838
min(Language::Location loc | loc = irFunc.getLocation() | loc order by loc.toString())
3939
}
40+
41+
IRFunction getIRFunction() { result = irFunc }
4042
}
4143

4244
private class MissingIRFunction extends OptionalIRFunction, TMissingIRFunction {

csharp/ql/src/experimental/ir/implementation/unaliased_ssa/IRConsistency.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module InstructionConsistency {
2222
abstract Language::Location getLocation();
2323
}
2424

25-
private class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
25+
class PresentIRFunction extends OptionalIRFunction, TPresentIRFunction {
2626
private IRFunction irFunc;
2727

2828
PresentIRFunction() { this = TPresentIRFunction(irFunc) }
@@ -37,6 +37,8 @@ module InstructionConsistency {
3737
result =
3838
min(Language::Location loc | loc = irFunc.getLocation() | loc order by loc.toString())
3939
}
40+
41+
IRFunction getIRFunction() { result = irFunc }
4042
}
4143

4244
private class MissingIRFunction extends OptionalIRFunction, TMissingIRFunction {

0 commit comments

Comments
 (0)