Skip to content

Commit 10981ae

Browse files
committed
C++: Autoformat after Copilot suggestions.
1 parent 908e32b commit 10981ae

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/Instruction.qll‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,9 @@ class CallInstruction extends Instruction {
17501750
/**
17511751
* Gets the number of positional arguments of the call.
17521752
*/
1753-
final int getNumberOfPositionalArguments() { result = count(this.getAPositionalArgumentOperand()) }
1753+
final int getNumberOfPositionalArguments() {
1754+
result = count(this.getAPositionalArgumentOperand())
1755+
}
17541756

17551757
/**
17561758
* Holds if the result is a side effect for the argument at the specified index, or `this` if

‎cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/Instruction.qll‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,9 @@ class CallInstruction extends Instruction {
17501750
/**
17511751
* Gets the number of positional arguments of the call.
17521752
*/
1753-
final int getNumberOfPositionalArguments() { result = count(this.getAPositionalArgumentOperand()) }
1753+
final int getNumberOfPositionalArguments() {
1754+
result = count(this.getAPositionalArgumentOperand())
1755+
}
17541756

17551757
/**
17561758
* Holds if the result is a side effect for the argument at the specified index, or `this` if

‎cpp/ql/lib/semmle/code/cpp/ir/implementation/unaliased_ssa/Instruction.qll‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,9 @@ class CallInstruction extends Instruction {
17501750
/**
17511751
* Gets the number of positional arguments of the call.
17521752
*/
1753-
final int getNumberOfPositionalArguments() { result = count(this.getAPositionalArgumentOperand()) }
1753+
final int getNumberOfPositionalArguments() {
1754+
result = count(this.getAPositionalArgumentOperand())
1755+
}
17541756

17551757
/**
17561758
* Holds if the result is a side effect for the argument at the specified index, or `this` if

0 commit comments

Comments
 (0)