C++: Fix joins.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-12-15 11:37:02 +00:00
parent 16e53d3972
commit ce326a0f79
2 changed files with 6 additions and 5 deletions

View File

@@ -328,6 +328,7 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function {
MetricFunction getMetrics() { result = this }
/** Holds if this function calls the function `f`. */
pragma[nomagic]
predicate calls(Function f) { this.calls(f, _) }
/**