From de0a2354fcd2f97b1a8f7ec98b4b623e76d88c2c Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 3 Sep 2019 11:41:40 -0400 Subject: IWYU: Add missing cstddef includes for size_t and nullptr_t The IWYU tool we use for CI now diagnoses these. --- Source/CPack/IFW/cmCPackIFWCommon.cxx | 1 + Source/CTest/cmCTestTestHandler.cxx | 1 + Source/cmFileAPI.cxx | 1 + Source/cmGeneratorTarget.cxx | 1 + Source/cmListCommand.cxx | 1 + Source/cmProjectCommand.cxx | 1 + Source/cmQtAutoGenInitializer.cxx | 1 + Source/cmString.hxx | 1 + Source/cmStringAlgorithms.cxx | 1 + Source/cmUVProcessChain.h | 1 + Source/cmXMLWriter.h | 1 + Tests/CMakeLib/testString.cxx | 1 + 12 files changed, 12 insertions(+) diff --git a/Source/CPack/IFW/cmCPackIFWCommon.cxx b/Source/CPack/IFW/cmCPackIFWCommon.cxx index f9ce822..aa9a457 100644 --- a/Source/CPack/IFW/cmCPackIFWCommon.cxx +++ b/Source/CPack/IFW/cmCPackIFWCommon.cxx @@ -11,6 +11,7 @@ #include "cmVersionConfig.h" #include "cmXMLWriter.h" +#include #include #include #include diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 547d2f3..b90209e 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/Source/cmFileAPI.cxx b/Source/cmFileAPI.cxx index 5d9181a..8161191 100644 --- a/Source/cmFileAPI.cxx +++ b/Source/cmFileAPI.cxx @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index b9a9204..8896e15 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -5,6 +5,7 @@ #include "cmsys/RegularExpression.hxx" #include #include +#include #include #include #include diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx index 91dea58..d2c051e 100644 --- a/Source/cmListCommand.cxx +++ b/Source/cmListCommand.cxx @@ -5,6 +5,7 @@ #include "cmsys/RegularExpression.hxx" #include #include +#include #include #include #include diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index f8c5ada..e74fff6 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -4,6 +4,7 @@ #include "cmsys/RegularExpression.hxx" #include +#include #include #include #include diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index 155167b..d6916b0 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -29,6 +29,7 @@ #include "cmsys/SystemInformation.hxx" #include +#include #include #include #include diff --git a/Source/cmString.hxx b/Source/cmString.hxx index 49bad78..226ac67 100644 --- a/Source/cmString.hxx +++ b/Source/cmString.hxx @@ -9,6 +9,7 @@ #include "cm_string_view.hxx" #include +#include #include #include #include diff --git a/Source/cmStringAlgorithms.cxx b/Source/cmStringAlgorithms.cxx index c686aa0..131a01e 100644 --- a/Source/cmStringAlgorithms.cxx +++ b/Source/cmStringAlgorithms.cxx @@ -3,6 +3,7 @@ #include "cmStringAlgorithms.h" #include +#include #include #include #include diff --git a/Source/cmUVProcessChain.h b/Source/cmUVProcessChain.h index 75f8f66..76a9c40 100644 --- a/Source/cmUVProcessChain.h +++ b/Source/cmUVProcessChain.h @@ -6,6 +6,7 @@ #include "cm_uv.h" #include +#include #include #include #include diff --git a/Source/cmXMLWriter.h b/Source/cmXMLWriter.h index 512e103..a5b06af 100644 --- a/Source/cmXMLWriter.h +++ b/Source/cmXMLWriter.h @@ -8,6 +8,7 @@ #include "cmXMLSafe.h" #include +#include #include #include #include diff --git a/Tests/CMakeLib/testString.cxx b/Tests/CMakeLib/testString.cxx index af5e41e..075892f 100644 --- a/Tests/CMakeLib/testString.cxx +++ b/Tests/CMakeLib/testString.cxx @@ -6,6 +6,7 @@ #include "cm_static_string_view.hxx" #include "cm_string_view.hxx" +#include #include #include #include -- cgit v0.12