C++/Go/Python/Ruby/Swift: Add dummy localMustFlowStep.

This commit is contained in:
Anders Schack-Mulligen
2023-09-04 16:17:10 +02:00
parent 1750d00fbe
commit f5a4b792bd
6 changed files with 12 additions and 0 deletions

View File

@@ -1697,6 +1697,8 @@ private predicate mustHaveLambdaType(CfgNodes::ExprCfgNode e, Callable c) {
)
}
predicate localMustFlowStep(Node node1, Node node2) { none() }
/** Gets the type of `n` used for type pruning. */
DataFlowType getNodeType(Node n) {
result = TLambdaDataFlowType(n.(LambdaSelfReferenceNode).getCallable())