Skip to content

Commit 1edd492

Browse files
author
Dave Bartolomeo
committed
C++: Late fix for PR feedback
I missed this suggestion before I merged the original PR. Fixing it now before I forget.
1 parent 3767794 commit 1edd492

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)