mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Implement dataflow for record patterns
Strategy: there is now a regular flow step from an instance-of LHS / switch expr to the pattern, 0 or more read steps corresponding to record pattern destructors, and then finally a normal SSA def/use step connecting the binding patterns to their first uses.
This commit is contained in:
@@ -576,6 +576,10 @@ lambdaKind(
|
||||
int bodyKind: int ref
|
||||
);
|
||||
|
||||
isCanonicalConstr(
|
||||
int constructorid: @constructor ref
|
||||
);
|
||||
|
||||
arrays(
|
||||
unique int id: @array,
|
||||
string nodeName: string ref,
|
||||
|
||||
Reference in New Issue
Block a user