Skip to content

Commit a4578d7

Browse files
committed
Add missing qldocs
1 parent 6a85cee commit a4578d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

go/ql/lib/semmle/go/controlflow/IR.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ module IR {
446446
/** Gets the target to which this instruction writes. */
447447
WriteTarget getLhs() { result = lhs }
448448

449+
/** Holds if this instruction initializes a literal. */
449450
predicate isInitialization() { initialization = true }
450451

451452
/** Gets the instruction computing the value this instruction writes. */

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,7 @@ module Public {
817817
abstract Node getPreUpdateNode();
818818
}
819819

820+
/** Holds if the node corresponding to `insn` has a post-update node. */
820821
predicate insnHasPostUpdateNode(IR::Instruction insn) {
821822
exists(Expr e | insn.(IR::EvalInstruction).getExpr() = e |
822823
e instanceof AddressExpr or

0 commit comments

Comments
 (0)