Apply suggestions from code review

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Jeongsoo Lee
2026-03-19 15:48:47 -07:00
committed by GitHub
parent 3f9ad14473
commit d191d09c55

View File

@@ -619,7 +619,7 @@ module Public {
/**
* Gets the uninitialized local variable corresponding to this node behind
* the given levels of indirection, if any.
* `index` number of indirections, if any.
*/
LocalVariable asIndirectUninitialized(int indirectionIndex) {
exists(IndirectUninitializedNode indirectUninitializedNode |
@@ -632,7 +632,7 @@ module Public {
/**
* Gets the uninitialized local variable corresponding to this node behind
* any levels of indirection, if any.
* a number indirections, if any.
*/
LocalVariable asIndirectUninitialized() { result = this.asIndirectUninitialized(_) }
@@ -815,7 +815,7 @@ module Public {
class IndirectUninitializedNode extends AbstractUninitializedNode {
IndirectUninitializedNode() { indirectionIndex > 0 }
/** Gets the level of indirection to get to this node. */
/** Gets the indirection index of this node. */
int getIndirectionIndex() { result = indirectionIndex }
}