Add missing qldocs

This commit is contained in:
Owen Mansel-Chan
2025-09-19 09:34:51 +01:00
parent 5efc8ac1a4
commit 6cb69535a5
2 changed files with 2 additions and 0 deletions

View File

@@ -446,6 +446,7 @@ module IR {
/** Gets the target to which this instruction writes. */
WriteTarget getLhs() { result = lhs }
/** Holds if this instruction initializes a literal. */
predicate isInitialization() { initialization = true }
/** Gets the instruction computing the value this instruction writes. */

View File

@@ -817,6 +817,7 @@ module Public {
abstract Node getPreUpdateNode();
}
/** Holds if the node corresponding to `insn` has a post-update node. */
predicate insnHasPostUpdateNode(IR::Instruction insn) {
exists(Expr e | insn.(IR::EvalInstruction).getExpr() = e |
e instanceof AddressExpr or