Skip to content

Commit 87f0f1f

Browse files
committed
C++: Fix description of asIndirectExpr and asParameter\1 in docs
1 parent c6dc55e commit 87f0f1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/codeql/codeql-language-guides/analyzing-data-flow-in-cpp-new.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The local data flow library is in the module ``DataFlow``, which defines the cla
3333
Expr asExpr() { ... }
3434
3535
/**
36-
* Gets the expression corresponding to this node, if any, after dereferencing
37-
* the expression `index` times.
36+
* Gets the expression corresponding to a node that is obtained after dereferencing
37+
* the expression `index` times, if any.
3838
*/
3939
Expr asIndirectExpr(int index) { ... }
4040
@@ -44,8 +44,8 @@ The local data flow library is in the module ``DataFlow``, which defines the cla
4444
Parameter asParameter() { ... }
4545
4646
/**
47-
* Gets the parameter corresponding to this node, if any, after dereferencing
48-
* the expression `index` times.
47+
* Gets the parameter corresponding to a node that is obtained after dereferencing
48+
* the parameter `index` times.
4949
*/
5050
Parameter asParameter(int index) { ... }
5151

0 commit comments

Comments
 (0)