summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-27 17:17:31 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-28 13:14:08 (GMT)
commit241ee252ce0fadeacfb1c6349b5838708e3a4e35 (patch)
tree03890bf9072c90543d03a0c92dd70acf651955f5 /Tests
parent09db788636d3fccf23b6a670b4630b905eb24f2a (diff)
downloadCMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.zip
CMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.tar.gz
CMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.tar.bz2
IWYU: Update for Debian 12 CI job
`include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 12.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testCMExtAlgorithm.cxx1
-rw-r--r--Tests/CMakeLib/testEncoding.cxx1
-rw-r--r--Tests/CMakeLib/testGccDepfileReader.cxx1
-rw-r--r--Tests/CMakeLib/testList.cxx1
-rw-r--r--Tests/CMakeLib/testOptional.cxx1
-rw-r--r--Tests/CMakeLib/testString.cxx2
-rw-r--r--Tests/CMakeLib/testUVProcessChain.cxx1
7 files changed, 1 insertions, 7 deletions
diff --git a/Tests/CMakeLib/testCMExtAlgorithm.cxx b/Tests/CMakeLib/testCMExtAlgorithm.cxx
index c909f24..53b0302 100644
--- a/Tests/CMakeLib/testCMExtAlgorithm.cxx
+++ b/Tests/CMakeLib/testCMExtAlgorithm.cxx
@@ -1,6 +1,5 @@
#include <iostream>
#include <memory>
-#include <type_traits>
#include <utility>
#include <vector>
diff --git a/Tests/CMakeLib/testEncoding.cxx b/Tests/CMakeLib/testEncoding.cxx
index 4936898..460d845 100644
--- a/Tests/CMakeLib/testEncoding.cxx
+++ b/Tests/CMakeLib/testEncoding.cxx
@@ -1,4 +1,5 @@
#include <iostream>
+#include <iterator>
#include <string>
#include "cmsys/FStream.hxx"
diff --git a/Tests/CMakeLib/testGccDepfileReader.cxx b/Tests/CMakeLib/testGccDepfileReader.cxx
index d46e8f3..fb19c14 100644
--- a/Tests/CMakeLib/testGccDepfileReader.cxx
+++ b/Tests/CMakeLib/testGccDepfileReader.cxx
@@ -1,6 +1,5 @@
#include <cstddef> // IWYU pragma: keep
#include <iostream>
-#include <memory>
#include <string>
#include <utility>
#include <vector>
diff --git a/Tests/CMakeLib/testList.cxx b/Tests/CMakeLib/testList.cxx
index f6ec720..3e99ae8 100644
--- a/Tests/CMakeLib/testList.cxx
+++ b/Tests/CMakeLib/testList.cxx
@@ -4,7 +4,6 @@
#include <iostream>
#include <stdexcept>
#include <string>
-#include <type_traits>
#include <utility>
#include <vector>
diff --git a/Tests/CMakeLib/testOptional.cxx b/Tests/CMakeLib/testOptional.cxx
index 785f031..933ab70 100644
--- a/Tests/CMakeLib/testOptional.cxx
+++ b/Tests/CMakeLib/testOptional.cxx
@@ -1,5 +1,4 @@
#include <iostream>
-#include <type_traits>
#include <vector>
#include <cm/optional>
diff --git a/Tests/CMakeLib/testString.cxx b/Tests/CMakeLib/testString.cxx
index af34a2f..3509266 100644
--- a/Tests/CMakeLib/testString.cxx
+++ b/Tests/CMakeLib/testString.cxx
@@ -1,14 +1,12 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#include <cstddef> // IWYU pragma: keep
#include <cstring>
#include <iostream>
#include <iterator>
#include <sstream>
#include <stdexcept>
#include <string>
-#include <type_traits>
#include <utility>
#include <cm/string_view>
diff --git a/Tests/CMakeLib/testUVProcessChain.cxx b/Tests/CMakeLib/testUVProcessChain.cxx
index 22373ef..fc84bb0 100644
--- a/Tests/CMakeLib/testUVProcessChain.cxx
+++ b/Tests/CMakeLib/testUVProcessChain.cxx
@@ -5,7 +5,6 @@
#include <iostream>
#include <sstream>
#include <string>
-#include <type_traits>
#include <utility>
#include <vector>