Skip to content

Commit d191d09

Browse files
Apply suggestions from code review
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
1 parent 3f9ad14 commit d191d09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowNodes.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ module Public {
619619

620620
/**
621621
* Gets the uninitialized local variable corresponding to this node behind
622-
* the given levels of indirection, if any.
622+
* `index` number of indirections, if any.
623623
*/
624624
LocalVariable asIndirectUninitialized(int indirectionIndex) {
625625
exists(IndirectUninitializedNode indirectUninitializedNode |
@@ -632,7 +632,7 @@ module Public {
632632

633633
/**
634634
* Gets the uninitialized local variable corresponding to this node behind
635-
* any levels of indirection, if any.
635+
* a number indirections, if any.
636636
*/
637637
LocalVariable asIndirectUninitialized() { result = this.asIndirectUninitialized(_) }
638638

@@ -815,7 +815,7 @@ module Public {
815815
class IndirectUninitializedNode extends AbstractUninitializedNode {
816816
IndirectUninitializedNode() { indirectionIndex > 0 }
817817

818-
/** Gets the level of indirection to get to this node. */
818+
/** Gets the indirection index of this node. */
819819
int getIndirectionIndex() { result = indirectionIndex }
820820
}
821821

0 commit comments

Comments
 (0)