From 24a9fed5d9c9d341585c0e05c72909d5f3164927 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 28 Apr 2020 13:22:19 -0400 Subject: IWYU: mark as needed Newer IWYU is not seeing them as needed for `size_t`. --- Source/CPack/IFW/cmCPackIFWCommon.cxx | 2 +- Source/CTest/cmCTestMultiProcessHandler.cxx | 2 +- Source/CTest/cmCTestRunTest.cxx | 2 +- Source/CTest/cmCTestTestHandler.cxx | 2 +- Source/bindexplib.cxx | 2 +- Source/cmForEachCommand.cxx | 2 +- Source/cmStringAlgorithms.cxx | 2 +- Source/cmUVProcessChain.h | 2 +- Source/cmXMLWriter.h | 2 +- Tests/CMakeLib/testCTestBinPacker.cxx | 2 +- Tests/CMakeLib/testGccDepfileReader.cxx | 2 +- Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/CPack/IFW/cmCPackIFWCommon.cxx b/Source/CPack/IFW/cmCPackIFWCommon.cxx index 9fa74be..20d392d 100644 --- a/Source/CPack/IFW/cmCPackIFWCommon.cxx +++ b/Source/CPack/IFW/cmCPackIFWCommon.cxx @@ -2,7 +2,7 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmCPackIFWCommon.h" -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 5c37f97..b7251d9 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -6,7 +6,7 @@ #include #include #include -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index 7d0f69b..7674d7a 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -3,7 +3,7 @@ #include "cmCTestRunTest.h" #include -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 2408d57..e6b3f36 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -5,7 +5,7 @@ #include #include #include -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Source/bindexplib.cxx b/Source/bindexplib.cxx index fdfd4c0..4a5c641 100644 --- a/Source/bindexplib.cxx +++ b/Source/bindexplib.cxx @@ -64,7 +64,7 @@ */ #include "bindexplib.h" -#include +#include // IWYU pragma: keep #include #include diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx index 0546186..82c5223 100644 --- a/Source/cmForEachCommand.cxx +++ b/Source/cmForEachCommand.cxx @@ -4,7 +4,7 @@ #include #include -#include +#include // IWYU pragma: keep // NOTE The declaration of `std::abs` has moved to `cmath` since C++17 // See https://en.cppreference.com/w/cpp/numeric/math/abs // ALERT But IWYU used to lint `#include`s do not "understand" diff --git a/Source/cmStringAlgorithms.cxx b/Source/cmStringAlgorithms.cxx index bb6dcd7..71d28a4 100644 --- a/Source/cmStringAlgorithms.cxx +++ b/Source/cmStringAlgorithms.cxx @@ -4,7 +4,7 @@ #include #include -#include +#include // IWYU pragma: keep #include #include diff --git a/Source/cmUVProcessChain.h b/Source/cmUVProcessChain.h index 05a7cc8..cd7397e 100644 --- a/Source/cmUVProcessChain.h +++ b/Source/cmUVProcessChain.h @@ -4,7 +4,7 @@ #define cmUVProcessChain_h #include -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Source/cmXMLWriter.h b/Source/cmXMLWriter.h index bc445aa..00ea08c 100644 --- a/Source/cmXMLWriter.h +++ b/Source/cmXMLWriter.h @@ -6,7 +6,7 @@ #include "cmConfigure.h" // IWYU pragma: keep #include -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Tests/CMakeLib/testCTestBinPacker.cxx b/Tests/CMakeLib/testCTestBinPacker.cxx index 6f09af2..abdbefb 100644 --- a/Tests/CMakeLib/testCTestBinPacker.cxx +++ b/Tests/CMakeLib/testCTestBinPacker.cxx @@ -1,4 +1,4 @@ -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Tests/CMakeLib/testGccDepfileReader.cxx b/Tests/CMakeLib/testGccDepfileReader.cxx index 924d87b..e79f047 100644 --- a/Tests/CMakeLib/testGccDepfileReader.cxx +++ b/Tests/CMakeLib/testGccDepfileReader.cxx @@ -1,4 +1,4 @@ -#include +#include // IWYU pragma: keep #include #include #include diff --git a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx index 80db05e..daf8a2d 100644 --- a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx +++ b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx @@ -1,6 +1,6 @@ #include #include -#include +#include // IWYU pragma: keep #include #include #include -- cgit v0.12