Skip to content

Commit 0a065c9

Browse files
committed
Update QLDoc for ResultNode
1 parent 9909135 commit 0a065c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -923,9 +923,9 @@ module Public {
923923
/**
924924
* A node whose value is returned as a result from a function.
925925
*
926-
* This can either be a node corresponding to an expression in a return statement,
927-
* or a node representing the current value of a named result variable at the exit
928-
* of the function.
926+
* If the function declares named result variables, this is a node representing
927+
* the current value of one of those variables at function exit. Otherwise, this
928+
* is a node corresponding to an expression in a return statement.
929929
*/
930930
class ResultNode extends InstructionNode {
931931
int i;

0 commit comments

Comments
 (0)