Skip to content

Commit cd2f0ec

Browse files
committed
C++: Deprecate AST dataflow.
1 parent e428502 commit cd2f0ec

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
import cpp
2121

2222
/**
23+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow` instead.
24+
*
2325
* Provides classes for performing local (intra-procedural) and
2426
* global (inter-procedural) data flow analyses.
2527
*/
26-
module DataFlow {
28+
deprecated module DataFlow {
2729
import semmle.code.cpp.dataflow.internal.DataFlow
2830
import semmle.code.cpp.dataflow.internal.DataFlowImpl1
2931
}

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow2.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
import cpp
1313

1414
/**
15+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow2` instead.
16+
*
1517
* Provides classes for performing local (intra-procedural) and
1618
* global (inter-procedural) data flow analyses.
1719
*/
18-
module DataFlow2 {
20+
deprecated module DataFlow2 {
1921
import semmle.code.cpp.dataflow.internal.DataFlowImpl2
2022
}

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow3.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
import cpp
1313

1414
/**
15+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow3` instead.
16+
*
1517
* Provides classes for performing local (intra-procedural) and
1618
* global (inter-procedural) data flow analyses.
1719
*/
18-
module DataFlow3 {
20+
deprecated module DataFlow3 {
1921
import semmle.code.cpp.dataflow.internal.DataFlowImpl3
2022
}

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow4.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
import cpp
1313

1414
/**
15+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow4` instead.
16+
*
1517
* Provides classes for performing local (intra-procedural) and
1618
* global (inter-procedural) data flow analyses.
1719
*/
18-
module DataFlow4 {
20+
deprecated module DataFlow4 {
1921
import semmle.code.cpp.dataflow.internal.DataFlowImpl4
2022
}

cpp/ql/lib/semmle/code/cpp/dataflow/TaintTracking.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ import semmle.code.cpp.dataflow.DataFlow
1919
import semmle.code.cpp.dataflow.DataFlow2
2020

2121
/**
22+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.TaintTracking` instead.
23+
*
2224
* Provides classes for performing local (intra-procedural) and
2325
* global (inter-procedural) taint-tracking analyses.
2426
*/
25-
module TaintTracking {
27+
deprecated module TaintTracking {
2628
import semmle.code.cpp.dataflow.internal.tainttracking1.TaintTracking
2729
import semmle.code.cpp.dataflow.internal.tainttracking1.TaintTrackingImpl
2830
}

cpp/ql/lib/semmle/code/cpp/dataflow/TaintTracking2.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
*/
1313

1414
/**
15+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.TaintTracking2` instead.
16+
*
1517
* Provides classes for performing local (intra-procedural) and
1618
* global (inter-procedural) taint-tracking analyses.
1719
*/
18-
module TaintTracking2 {
20+
deprecated module TaintTracking2 {
1921
import semmle.code.cpp.dataflow.internal.tainttracking2.TaintTrackingImpl
2022
}

0 commit comments

Comments
 (0)