File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -621,10 +621,10 @@ module Public {
621621 * Gets the uninitialized local variable corresponding to this node behind
622622 * the given levels of indirection, if any.
623623 */
624- LocalVariable asIndirectUninitialized ( int indirectionIndex ) {
624+ LocalVariable asIndirectUninitialized ( int index ) {
625625 exists ( IndirectUninitializedNode indirectUninitializedNode |
626626 this = indirectUninitializedNode and
627- indirectUninitializedNode .getIndirectionIndex ( ) = indirectionIndex
627+ indirectUninitializedNode .getIndirectionIndex ( ) = index
628628 |
629629 result = indirectUninitializedNode .getLocalVariable ( )
630630 )
@@ -808,9 +808,6 @@ module Public {
808808 /**
809809 * The value of an uninitialized local variable behind one or more levels of
810810 * indirection, viewed as a node in a data flow graph.
811- *
812- * NOTE: For the direct value of the uninitialized local variable, see
813- * `UninitializedNode`.
814811 */
815812 class IndirectUninitializedNode extends AbstractUninitializedNode {
816813 IndirectUninitializedNode ( ) { indirectionIndex > 0 }
You can’t perform that action at this time.
0 commit comments