Skip to content

Commit 2e66392

Browse files
committed
C++: Update deprecated note to respect identical files.
1 parent 5c4543f commit 2e66392

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cpp/ql/lib/semmle/code/cpp/controlflow/SubBasicBlocks.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: There are two copies of this file, and they must be kept identical:
22
// - semmle/code/cpp/controlflow/SubBasicBlocks.qll
3-
// - semmle/code/cpp/dataflow/internal/SubBasicBlocks.qll
3+
// - semmle/code/cpp/dataflow/internal/SubBasicBlocks.qll [now DEPRECATED]
44
//
55
// The second one is a private copy of the `SubBasicBlocks` library for
66
// internal use by the data flow library. Having an extra copy prevents

cpp/ql/lib/semmle/code/cpp/dataflow/internal/SubBasicBlocks.qll

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
// NOTE: There are two copies of this file, and they must be kept identical:
22
// - semmle/code/cpp/controlflow/SubBasicBlocks.qll
3-
// - semmle/code/cpp/dataflow/internal/SubBasicBlocks.qll
3+
// - semmle/code/cpp/dataflow/internal/SubBasicBlocks.qll [now DEPRECATED]
44
//
55
// The second one is a private copy of the `SubBasicBlocks` library for
66
// internal use by the data flow library. Having an extra copy prevents
77
// non-monotonic recursion errors in queries that use both the data flow
88
// library and the `SubBasicBlocks` library.
99
/**
10-
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow` instead.
11-
*
1210
* Provides the `SubBasicBlock` class, used for partitioning basic blocks in
1311
* smaller pieces.
1412
*/

0 commit comments

Comments
 (0)