File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
docs/ql-libraries/dataflow Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,10 @@ through an additional step targeting a `PostUpdateNode`).
294
294
295
295
It is recommended to introduce ` PostUpdateNode ` s for all ` ArgumentNode ` s (this
296
296
can be skipped for immutable arguments), and all field qualifiers for both
297
- reads and stores.
297
+ reads and stores. Note also that in the case of compund arguments, such as
298
+ ` b ? x : y ` , it is recommented to have post-update nodes for ` x ` and ` y ` (and
299
+ not the compound argument itself), and let ` [post update] x ` have both ` x `
300
+ and ` b ? x : y ` as pre-update nodes (and similarly for ` [post update] y ` ).
298
301
299
302
Remember to define local flow for ` PostUpdateNode ` s as well in
300
303
` simpleLocalFlowStep ` . In general out-going local flow from ` PostUpdateNode ` s
You can’t perform that action at this time.
0 commit comments