We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db8b6ac commit 07f8b35Copy full SHA for 07f8b35
1 file changed
docs/ql-libraries/dataflow/dataflow.md
@@ -294,7 +294,10 @@ through an additional step targeting a `PostUpdateNode`).
294
295
It is recommended to introduce `PostUpdateNode`s for all `ArgumentNode`s (this
296
can be skipped for immutable arguments), and all field qualifiers for both
297
-reads and stores.
+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`).
301
302
Remember to define local flow for `PostUpdateNode`s as well in
303
`simpleLocalFlowStep`. In general out-going local flow from `PostUpdateNode`s
0 commit comments