Dataflow: Add empty type strengthening predicate for languages without type pruning.

This commit is contained in:
Anders Schack-Mulligen
2023-05-09 12:10:31 +02:00
parent 96c1b5b0a9
commit fd832416d8
6 changed files with 12 additions and 0 deletions

View File

@@ -502,6 +502,8 @@ class CastNode extends Node {
pragma[inline]
predicate compatibleTypes(DataFlowType t1, DataFlowType t2) { any() }
predicate typeStrongerThan(DataFlowType t1, DataFlowType t2) { none() }
/**
* Gets the type of `node`.
*/