Merge branch 'main' into jeongsoolee09/add-getIndirectionIndex

This commit is contained in:
Jeongsoo Lee
2026-03-20 10:01:05 -07:00
committed by GitHub
687 changed files with 4187 additions and 3550 deletions

View File

@@ -524,6 +524,12 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function {
not exists(NewOrNewArrayExpr new | e = new.getAllocatorCall().getArgument(0))
)
}
/**
* Holds if this function has an ambiguous return type, meaning that zero or multiple return
* types for this function are present in the database (this can occur in `build-mode: none`).
*/
predicate hasAmbiguousReturnType() { count(this.getType()) != 1 }
}
pragma[noinline]