Skip to content

Commit a505165

Browse files
committed
C++: Autoformat.
1 parent 00450d1 commit a505165

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ abstract class Indirection extends Type {
190190
predicate isAdditionalConversionFlow(Operand opFrom, Instruction instrTo) { none() }
191191
}
192192

193-
private class PointerOrArrayOrReferenceTypeIndirection extends Indirection instanceof PointerOrArrayOrReferenceType {
193+
private class PointerOrArrayOrReferenceTypeIndirection extends Indirection instanceof PointerOrArrayOrReferenceType
194+
{
194195
PointerOrArrayOrReferenceTypeIndirection() {
195196
baseType = PointerOrArrayOrReferenceType.super.getBaseType()
196197
}
@@ -473,11 +474,13 @@ abstract class BaseSourceVariableInstruction extends Instruction {
473474
}
474475

475476
private class BaseIRVariableInstruction extends BaseSourceVariableInstruction,
476-
VariableAddressInstruction {
477+
VariableAddressInstruction
478+
{
477479
override BaseIRVariable getBaseSourceVariable() { result.getIRVariable() = this.getIRVariable() }
478480
}
479481

480-
private class BaseAllocationInstruction extends BaseSourceVariableInstruction, AllocationInstruction {
482+
private class BaseAllocationInstruction extends BaseSourceVariableInstruction, AllocationInstruction
483+
{
481484
override BaseCallVariable getBaseSourceVariable() { result.getCallInstruction() = this }
482485
}
483486

cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ module FiletimeYearArithmeticOperationCheckFlow =
289289
/**
290290
* Taint configuration for finding an operation with hardcoded 365 that will flow into any known date/time field.
291291
*/
292-
deprecated class PossibleYearArithmeticOperationCheckConfiguration extends TaintTracking::Configuration {
292+
deprecated class PossibleYearArithmeticOperationCheckConfiguration extends TaintTracking::Configuration
293+
{
293294
PossibleYearArithmeticOperationCheckConfiguration() {
294295
this = "PossibleYearArithmeticOperationCheckConfiguration"
295296
}

0 commit comments

Comments
 (0)