Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternals.qll

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2025-07-31 13:52:21 +01:00
committed by GitHub
parent 5a91aa2105
commit 8691075aae

View File

@@ -1214,7 +1214,7 @@ class ExplicitDefinition extends Definition, SsaImpl::WriteDefinition {
* 2. A `DirectExplicitDefinition` at (2) which writes `&x` to the SSA variable
* corresponding to `p`.
* 3. A `IndirectExplicitDefinition` at (2) which writes `*&x` (i.e., `x`) to
* the SSA vairable corresponding to `*p`.
* the SSA variable corresponding to `*p`.
*/
class IndirectExplicitDefinition extends ExplicitDefinition {
IndirectExplicitDefinition() { this.getIndirectionIndex() > 0 }