Skip to content

Commit

Permalink
SSA: Add some qldoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
aschackmull committed Mar 4, 2025
1 parent f5eb2d9 commit 6c89602
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/ssa/codeql/ssa/Ssa.qll
Original file line number Diff line number Diff line change
@@ -1610,6 +1610,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {

SsaDefinitionExtNodeImpl() { this = TSsaDefinitionNode(def) }

/** Gets the corresponding `DefinitionExt`. */
DefinitionExt getDefExt() { result = def }

deprecated override DefinitionExt getDefinitionExt() { result = def }
@@ -1925,6 +1926,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
this = TRefPhiRead(_, result)
}

/** Holds if this reference is a synthesized phi read. */
predicate isPhiRead() { this = TRefPhiRead(_, _) }

/** Gets a textual representation of this SSA reference. */

0 comments on commit 6c89602

Please sign in to comment.