Skip to content

Commit 9d2e21e

Browse files
committed
C++: Move the note in the beginning of the document into a reusable file.
1 parent ff3d4b8 commit 9d2e21e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.. _advanced-dataflow-scenarios-cpp:
22

3-
.. pull-quote:: Note
4-
5-
The data flow library described here is available from CodeQL 2.12.5 onwards. With the release of CodeQL 2.13.0 the library uses the new modular API for data flow. For information on the previous version of the library, see :ref:`Analyzing data flow in C and C++ <analyzing-data-flow-in-cpp>` and for information about the new modular API and how to migrate any existing queries to the updated data flow library, see `New dataflow API for CodeQL query writing <https://gh.io/codeql-new-dataflow-api>`__.
3+
.. include:: ../reusables/cpp-new-dataflow-api-note.rst
64

75
Advanced dataflow scenarios for C/C++
86
======================================

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.. _analyzing-data-flow-in-cpp-new:
22

3-
.. pull-quote:: Note
4-
5-
The data flow library described here is available from CodeQL 2.12.5 onwards. With the release of CodeQL 2.13.0 the library uses the new modular API for data flow. For information on the previous version of the library, see :ref:`Analyzing data flow in C and C++ <analyzing-data-flow-in-cpp>` and for information about the new modular API and how to migrate any existing queries to the updated data flow library, see `New dataflow API for CodeQL query writing <https://gh.io/codeql-new-dataflow-api>`__.
3+
.. include:: ../reusables/cpp-new-dataflow-api-note.rst
64

75
Analyzing data flow in C and C++ (new)
86
======================================
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.. pull-quote:: Note
2+
3+
The data flow library described here is available from CodeQL 2.12.5 onwards. With the release of CodeQL 2.13.0 the library uses the new modular API for data flow. For information on the previous version of the library, see :ref:`Analyzing data flow in C and C++ <analyzing-data-flow-in-cpp>` and for information about the new modular API and how to migrate any existing queries to the updated data flow library, see `New dataflow API for CodeQL query writing <https://gh.io/codeql-new-dataflow-api>`__.

0 commit comments

Comments
 (0)