Skip to content

Commit 5318aa8

Browse files
committed
C++: autoformat
1 parent 35594ea commit 5318aa8

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/internal/SSAConstruction.qll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ private module Cached {
6565
instr = reusedPhiInstruction(_) and
6666
// Check that the phi instruction is *not* degenerate, but we can't use
6767
// getDegeneratePhiOperand in the first stage with phi instyructions
68-
not exists(unique(OldIR::PhiInputOperand operand |
69-
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
70-
operand.getPredecessorBlock() instanceof OldBlock
71-
))
68+
not exists(
69+
unique(OldIR::PhiInputOperand operand |
70+
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
71+
operand.getPredecessorBlock() instanceof OldBlock
72+
)
73+
)
7274
or
7375
instr instanceof TChiInstruction
7476
or

cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/internal/SSAConstruction.qll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ private module Cached {
6565
instr = reusedPhiInstruction(_) and
6666
// Check that the phi instruction is *not* degenerate, but we can't use
6767
// getDegeneratePhiOperand in the first stage with phi instyructions
68-
not exists(unique(OldIR::PhiInputOperand operand |
69-
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
70-
operand.getPredecessorBlock() instanceof OldBlock
71-
))
68+
not exists(
69+
unique(OldIR::PhiInputOperand operand |
70+
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
71+
operand.getPredecessorBlock() instanceof OldBlock
72+
)
73+
)
7274
or
7375
instr instanceof TChiInstruction
7476
or

csharp/ql/src/experimental/ir/implementation/unaliased_ssa/internal/SSAConstruction.qll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ private module Cached {
6565
instr = reusedPhiInstruction(_) and
6666
// Check that the phi instruction is *not* degenerate, but we can't use
6767
// getDegeneratePhiOperand in the first stage with phi instyructions
68-
not exists(unique(OldIR::PhiInputOperand operand |
69-
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
70-
operand.getPredecessorBlock() instanceof OldBlock
71-
))
68+
not exists(
69+
unique(OldIR::PhiInputOperand operand |
70+
operand = instr.(OldIR::PhiInstruction).getAnInputOperand() and
71+
operand.getPredecessorBlock() instanceof OldBlock
72+
)
73+
)
7274
or
7375
instr instanceof TChiInstruction
7476
or

0 commit comments

Comments
 (0)