Skip to content

Commit e2d24a2

Browse files
author
Robert Marsh
committed
C++: fix comment
1 parent 9011e13 commit e2d24a2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,14 +310,14 @@ class Instruction extends Construction::TInstruction {
310310
}
311311

312312
/**
313-
* Gets the `Expr` whose results is computed by this instruction, if any.
313+
* Gets the `Expr` whose result is computed by this instruction, if any.
314314
*/
315315
final Expr getConvertedResultExpression() {
316316
result = Construction::getInstructionConvertedResultExpression(this)
317317
}
318318

319319
/**
320-
* Gets the `Expr` whose results is computed by this instruction, if any.
320+
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
321321
*/
322322
final Expr getUnconvertedResultExpression() {
323323
result = Construction::getInstructionUnconvertedResultExpression(this)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,14 +310,14 @@ class Instruction extends Construction::TInstruction {
310310
}
311311

312312
/**
313-
* Gets the `Expr` whose results is computed by this instruction, if any.
313+
* Gets the `Expr` whose result is computed by this instruction, if any.
314314
*/
315315
final Expr getConvertedResultExpression() {
316316
result = Construction::getInstructionConvertedResultExpression(this)
317317
}
318318

319319
/**
320-
* Gets the `Expr` whose results is computed by this instruction, if any.
320+
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
321321
*/
322322
final Expr getUnconvertedResultExpression() {
323323
result = Construction::getInstructionUnconvertedResultExpression(this)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,14 +310,14 @@ class Instruction extends Construction::TInstruction {
310310
}
311311

312312
/**
313-
* Gets the `Expr` whose results is computed by this instruction, if any.
313+
* Gets the `Expr` whose result is computed by this instruction, if any.
314314
*/
315315
final Expr getConvertedResultExpression() {
316316
result = Construction::getInstructionConvertedResultExpression(this)
317317
}
318318

319319
/**
320-
* Gets the `Expr` whose results is computed by this instruction, if any.
320+
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
321321
*/
322322
final Expr getUnconvertedResultExpression() {
323323
result = Construction::getInstructionUnconvertedResultExpression(this)

0 commit comments

Comments
 (0)