Skip to content

Commit e6cdbb9

Browse files
authored
Merge pull request github#3121 from dbartol/dbartol/ir-generate-all-fixup
C++: Late fix for PR feedback
2 parents e7fd97e + 1edd492 commit e6cdbb9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/Instruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
4242
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
4343
}
4444

45-
predicate shouldGenerateDumpStrings() {
45+
private predicate shouldGenerateDumpStrings() {
4646
exists(IRConfiguration::IRConfiguration config |
4747
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
4848
)

cpp/ql/src/semmle/code/cpp/ir/implementation/raw/Instruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
4242
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
4343
}
4444

45-
predicate shouldGenerateDumpStrings() {
45+
private predicate shouldGenerateDumpStrings() {
4646
exists(IRConfiguration::IRConfiguration config |
4747
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
4848
)

cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
4242
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
4343
}
4444

45-
predicate shouldGenerateDumpStrings() {
45+
private predicate shouldGenerateDumpStrings() {
4646
exists(IRConfiguration::IRConfiguration config |
4747
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
4848
)

csharp/ql/src/semmle/code/csharp/ir/implementation/raw/Instruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
4242
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
4343
}
4444

45-
predicate shouldGenerateDumpStrings() {
45+
private predicate shouldGenerateDumpStrings() {
4646
exists(IRConfiguration::IRConfiguration config |
4747
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
4848
)

csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
4242
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
4343
}
4444

45-
predicate shouldGenerateDumpStrings() {
45+
private predicate shouldGenerateDumpStrings() {
4646
exists(IRConfiguration::IRConfiguration config |
4747
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
4848
)

0 commit comments

Comments
 (0)