Skip to content

Commit 722cc91

Browse files
author
Robert Marsh
committed
C++: make getLineRank private
1 parent 1b802c7 commit 722cc91

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
@@ -360,7 +360,7 @@ class Instruction extends Construction::TInstruction {
360360
)
361361
}
362362

363-
int getLineRank() {
363+
private int getLineRank() {
364364
this = rank[result](Instruction instr |
365365
instr.getAST().getFile() = getAST().getFile() and
366366
instr.getAST().getLocation().getStartLine() = getAST().getLocation().getStartLine()

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
@@ -360,7 +360,7 @@ class Instruction extends Construction::TInstruction {
360360
)
361361
}
362362

363-
int getLineRank() {
363+
private int getLineRank() {
364364
this = rank[result](Instruction instr |
365365
instr.getAST().getFile() = getAST().getFile() and
366366
instr.getAST().getLocation().getStartLine() = getAST().getLocation().getStartLine()

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
@@ -360,7 +360,7 @@ class Instruction extends Construction::TInstruction {
360360
)
361361
}
362362

363-
int getLineRank() {
363+
private int getLineRank() {
364364
this = rank[result](Instruction instr |
365365
instr.getAST().getFile() = getAST().getFile() and
366366
instr.getAST().getLocation().getStartLine() = getAST().getLocation().getStartLine()

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
@@ -360,7 +360,7 @@ class Instruction extends Construction::TInstruction {
360360
)
361361
}
362362

363-
int getLineRank() {
363+
private int getLineRank() {
364364
this = rank[result](Instruction instr |
365365
instr.getAST().getFile() = getAST().getFile() and
366366
instr.getAST().getLocation().getStartLine() = getAST().getLocation().getStartLine()

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
@@ -360,7 +360,7 @@ class Instruction extends Construction::TInstruction {
360360
)
361361
}
362362

363-
int getLineRank() {
363+
private int getLineRank() {
364364
this = rank[result](Instruction instr |
365365
instr.getAST().getFile() = getAST().getFile() and
366366
instr.getAST().getLocation().getStartLine() = getAST().getLocation().getStartLine()

0 commit comments

Comments
 (0)