Skip to content

Commit 665e046

Browse files
committed
Python: add overlay annotations to inlined predicates
1 parent fa94dc9 commit 665e046

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • python/ql/lib/semmle/python/controlflow/internal

python/ql/lib/semmle/python/controlflow/internal/Cfg.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ class ControlFlowNode extends CfgImpl::ControlFlowNode {
8585
}
8686

8787
/** Holds if this strictly dominates `other`. */
88+
overlay[caller?]
8889
pragma[inline]
8990
predicate strictlyDominates(ControlFlowNode other) { super.strictlyDominates(other) }
9091

9192
/** Holds if this dominates `other` (reflexively). */
93+
overlay[caller?]
9294
pragma[inline]
9395
predicate dominates(ControlFlowNode other) { super.dominates(other) }
9496

0 commit comments

Comments
 (0)