Skip to content

Commit 3c7d794

Browse files
committed
C++: Autoformat FlowVar.qll
1 parent 0990ceb commit 3c7d794

File tree

1 file changed

+2
-6
lines changed
  • cpp/ql/src/semmle/code/cpp/dataflow/internal

1 file changed

+2
-6
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/FlowVar.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,7 @@ module FlowVar_internal {
514514
}
515515

516516
/** Holds if `sbb` is inside this loop. */
517-
predicate sbbInLoop(SubBasicBlock sbb) {
518-
this.bbInLoop(sbb.getBasicBlock())
519-
}
517+
predicate sbbInLoop(SubBasicBlock sbb) { this.bbInLoop(sbb.getBasicBlock()) }
520518

521519
/**
522520
* Holds if `bb` is a basic block inside this loop where `v` has not been
@@ -568,9 +566,7 @@ module FlowVar_internal {
568566
start = TBlockVar(sbbDef, v) and
569567
result = mid.getASuccessor() and
570568
variableLiveInSBB(result, v) and
571-
forall(AlwaysTrueUponEntryLoop loop | skipLoop(mid, result, v, loop) |
572-
loop.sbbInLoop(sbbDef)
573-
) and
569+
forall(AlwaysTrueUponEntryLoop loop | skipLoop(mid, result, v, loop) | loop.sbbInLoop(sbbDef)) and
574570
not assignmentLikeOperation(result, v, _, _)
575571
)
576572
}

0 commit comments

Comments
 (0)