From 179270ffc1203a00e7006c8cebbdd09cdcd8a306 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 29 Apr 2024 11:07:55 +0100 Subject: [PATCH] C++: Move 'cpp/iterator-to-expired-container' out of experimental. --- .../Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp | 0 .../Security/CWE/CWE-416/IteratorToExpiredContainer.ql | 0 .../CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp | 0 .../Security/CWE/CWE-416/IteratorToExpiredContainer.qlref | 1 - .../IteratorToExpiredContainer.expected | 0 .../IteratorToExpiredContainer/IteratorToExpiredContainer.qlref | 1 + .../CWE-416/semmle/tests/IteratorToExpiredContainer}/test.cpp | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename cpp/ql/src/{experimental => }/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp (100%) rename cpp/ql/src/{experimental => }/Security/CWE/CWE-416/IteratorToExpiredContainer.ql (100%) rename cpp/ql/src/{experimental => }/Security/CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp (100%) delete mode 100644 cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.qlref rename cpp/ql/test/{experimental/query-tests/Security/CWE/CWE-416 => query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer}/IteratorToExpiredContainer.expected (100%) create mode 100644 cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.qlref rename cpp/ql/test/{experimental/query-tests/Security/CWE/CWE-416 => query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer}/test.cpp (100%) diff --git a/cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp b/cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp similarity index 100% rename from cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp rename to cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp diff --git a/cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.ql b/cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.ql similarity index 100% rename from cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.ql rename to cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.ql diff --git a/cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp b/cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp similarity index 100% rename from cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp rename to cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainerExtendedLifetime.cpp diff --git a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.qlref b/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.qlref deleted file mode 100644 index 5f86bb26ff0..00000000000 --- a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.qlref +++ /dev/null @@ -1 +0,0 @@ -experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.ql diff --git a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.expected b/cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.expected similarity index 100% rename from cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/IteratorToExpiredContainer.expected rename to cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.expected diff --git a/cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.qlref b/cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.qlref new file mode 100644 index 00000000000..fb2d78f87df --- /dev/null +++ b/cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/IteratorToExpiredContainer.qlref @@ -0,0 +1 @@ +Security/CWE/CWE-416/IteratorToExpiredContainer.ql diff --git a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/test.cpp b/cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/test.cpp similarity index 100% rename from cpp/ql/test/experimental/query-tests/Security/CWE/CWE-416/test.cpp rename to cpp/ql/test/query-tests/Security/CWE/CWE-416/semmle/tests/IteratorToExpiredContainer/test.cpp