Skip to content

Commit 83e222e

Browse files
committed
C++/C#: sync files
1 parent 537db53 commit 83e222e

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,15 @@ class Instruction extends Construction::TInstruction {
190190
final Language::Location getLocation() { result = getAST().getLocation() }
191191

192192
/**
193-
* Gets the `Expr` whose result is computed by this instruction, if any.
193+
* Gets the `Expr` whose result is computed by this instruction, if any. The `Expr` may be a
194+
* conversion.
194195
*/
195196
final Language::Expr getConvertedResultExpression() {
196197
result = Construction::getInstructionConvertedResultExpression(this)
197198
}
198199

199200
/**
200-
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
201+
* Gets the unconverted form of the `Expr` whose result is computed by this instruction, if any.
201202
*/
202203
final Language::Expr getUnconvertedResultExpression() {
203204
result = Construction::getInstructionUnconvertedResultExpression(this)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,15 @@ class Instruction extends Construction::TInstruction {
190190
final Language::Location getLocation() { result = getAST().getLocation() }
191191

192192
/**
193-
* Gets the `Expr` whose result is computed by this instruction, if any.
193+
* Gets the `Expr` whose result is computed by this instruction, if any. The `Expr` may be a
194+
* conversion.
194195
*/
195196
final Language::Expr getConvertedResultExpression() {
196197
result = Construction::getInstructionConvertedResultExpression(this)
197198
}
198199

199200
/**
200-
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
201+
* Gets the unconverted form of the `Expr` whose result is computed by this instruction, if any.
201202
*/
202203
final Language::Expr getUnconvertedResultExpression() {
203204
result = Construction::getInstructionUnconvertedResultExpression(this)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,15 @@ class Instruction extends Construction::TInstruction {
190190
final Language::Location getLocation() { result = getAST().getLocation() }
191191

192192
/**
193-
* Gets the `Expr` whose result is computed by this instruction, if any.
193+
* Gets the `Expr` whose result is computed by this instruction, if any. The `Expr` may be a
194+
* conversion.
194195
*/
195196
final Language::Expr getConvertedResultExpression() {
196197
result = Construction::getInstructionConvertedResultExpression(this)
197198
}
198199

199200
/**
200-
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
201+
* Gets the unconverted form of the `Expr` whose result is computed by this instruction, if any.
201202
*/
202203
final Language::Expr getUnconvertedResultExpression() {
203204
result = Construction::getInstructionUnconvertedResultExpression(this)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,15 @@ class Instruction extends Construction::TInstruction {
190190
final Language::Location getLocation() { result = getAST().getLocation() }
191191

192192
/**
193-
* Gets the `Expr` whose result is computed by this instruction, if any.
193+
* Gets the `Expr` whose result is computed by this instruction, if any. The `Expr` may be a
194+
* conversion.
194195
*/
195196
final Language::Expr getConvertedResultExpression() {
196197
result = Construction::getInstructionConvertedResultExpression(this)
197198
}
198199

199200
/**
200-
* Gets the unconverted `Expr` whose result is computed by this instruction, if any.
201+
* Gets the unconverted form of the `Expr` whose result is computed by this instruction, if any.
201202
*/
202203
final Language::Expr getUnconvertedResultExpression() {
203204
result = Construction::getInstructionUnconvertedResultExpression(this)

0 commit comments

Comments
 (0)