Skip to content

Commit 7702125

Browse files
committed
C++: Fix up IR data flow QLDoc
1 parent 2806a52 commit 7702125

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

cpp/ql/src/semmle/code/cpp/ir/dataflow/DataFlow.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
*
1414
* To use global (interprocedural) data flow, extend the class
1515
* `DataFlow::Configuration` as documented on that class. To use local
16-
* (intraprocedural) data flow, invoke `DataFlow::localFlow` or
17-
* `DataFlow::LocalFlowStep` with arguments of type `DataFlow::Node`.
16+
* (intraprocedural) data flow between expressions, call
17+
* `DataFlow::localExprFlow`. For more general cases of local data flow, call
18+
* `DataFlow::localFlow` or `DataFlow::localFlowStep` with arguments of type
19+
* `DataFlow::Node`.
1820
*/
1921

2022
import cpp

cpp/ql/src/semmle/code/cpp/ir/dataflow/DataFlow2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* `DataFlow2::Configuration`, a `DataFlow3::Configuration`, or a
77
* `DataFlow4::Configuration`.
88
*
9-
* See `semmle.code.cpp.dataflow.DataFlow` for the full documentation.
9+
* See `semmle.code.cpp.ir.dataflow.DataFlow` for the full documentation.
1010
*/
1111

1212
import cpp

cpp/ql/src/semmle/code/cpp/ir/dataflow/DataFlow3.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* `DataFlow2::Configuration`, a `DataFlow3::Configuration`, or a
77
* `DataFlow4::Configuration`.
88
*
9-
* See `semmle.code.cpp.dataflow.DataFlow` for the full documentation.
9+
* See `semmle.code.cpp.ir.dataflow.DataFlow` for the full documentation.
1010
*/
1111

1212
import cpp

cpp/ql/src/semmle/code/cpp/ir/dataflow/DataFlow4.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* `DataFlow2::Configuration`, a `DataFlow3::Configuration`, or a
77
* `DataFlow4::Configuration`.
88
*
9-
* See `semmle.code.cpp.dataflow.DataFlow` for the full documentation.
9+
* See `semmle.code.cpp.ir.dataflow.DataFlow` for the full documentation.
1010
*/
1111

1212
import cpp

0 commit comments

Comments
 (0)