mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Add missing qldocs
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user