Skip to content

Commit 356905b

Browse files
committed
Merge branch 'jeongsoolee09/add-getIndirectionIndex' of github.com:github/codeql into jeongsoolee09/add-getIndirectionIndex
2 parents dc291ff + d191d09 commit 356905b

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 index) {
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

@@ -812,7 +812,7 @@ module Public {
812812
class IndirectUninitializedNode extends AbstractUninitializedNode {
813813
IndirectUninitializedNode() { indirectionIndex > 0 }
814814

815-
/** Gets the level of indirection to get to this node. */
815+
/** Gets the indirection index of this node. */
816816
int getIndirectionIndex() { result = indirectionIndex }
817817
}
818818

0 commit comments

Comments
 (0)