Skip to content

Commit 148e87c

Browse files
committed
C++: Put AliasedSSA.qll in new qlformat style
1 parent f0f7528 commit 148e87c

File tree

1 file changed

+6
-4
lines changed
  • cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/internal

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,9 @@ MemoryLocation getResultMemoryLocation(Instruction instr) {
554554
)
555555
or
556556
kind instanceof EntireAllocationMemoryAccess and
557-
result = TEntireAllocationMemoryLocation(getAddressOperandAllocation(instr
558-
.getResultAddressOperand()), isMayAccess)
557+
result =
558+
TEntireAllocationMemoryLocation(getAddressOperandAllocation(instr.getResultAddressOperand()),
559+
isMayAccess)
559560
or
560561
kind instanceof EscapedMemoryAccess and
561562
result = TAllAliasedMemory(instr.getEnclosingIRFunction(), isMayAccess)
@@ -584,8 +585,9 @@ MemoryLocation getOperandMemoryLocation(MemoryOperand operand) {
584585
)
585586
or
586587
kind instanceof EntireAllocationMemoryAccess and
587-
result = TEntireAllocationMemoryLocation(getAddressOperandAllocation(operand
588-
.getAddressOperand()), isMayAccess)
588+
result =
589+
TEntireAllocationMemoryLocation(getAddressOperandAllocation(operand.getAddressOperand()),
590+
isMayAccess)
589591
or
590592
kind instanceof EscapedMemoryAccess and
591593
result = TAllAliasedMemory(operand.getEnclosingIRFunction(), isMayAccess)

0 commit comments

Comments
 (0)