mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Dataflow: Add empty type strengthening predicate for languages without type pruning.
This commit is contained in:
@@ -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`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user