summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-03 17:16:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-03 17:16:17 (GMT)
commit711e1c3ada26d952fa6360e671379b7bf1be2f17 (patch)
treef773e19c8d1ef669b457ad0a2fdfbb1611fd888e /Source
parent72b7629956c1718ce59db8a6a0d485b166ed6fe0 (diff)
parentde0a2354fcd2f97b1a8f7ec98b4b623e76d88c2c (diff)
downloadCMake-711e1c3ada26d952fa6360e671379b7bf1be2f17.zip
CMake-711e1c3ada26d952fa6360e671379b7bf1be2f17.tar.gz
CMake-711e1c3ada26d952fa6360e671379b7bf1be2f17.tar.bz2
Merge topic 'lint-updates'
de0a2354fc IWYU: Add missing cstddef includes for size_t and nullptr_t 1aa0a18c41 cmCTestTestHandler: Re-order includes to follow our convention Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3774
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/IFW/cmCPackIFWCommon.cxx1
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx34
-rw-r--r--Source/cmFileAPI.cxx1
-rw-r--r--Source/cmGeneratorTarget.cxx1
-rw-r--r--Source/cmListCommand.cxx1
-rw-r--r--Source/cmProjectCommand.cxx1
-rw-r--r--Source/cmQtAutoGenInitializer.cxx1
-rw-r--r--Source/cmString.hxx1
-rw-r--r--Source/cmStringAlgorithms.cxx1
-rw-r--r--Source/cmUVProcessChain.h1
-rw-r--r--Source/cmXMLWriter.h1
11 files changed, 28 insertions, 16 deletions
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 <cstddef>
#include <sstream>
#include <utility>
#include <vector>
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 9181daa..b90209e 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -1,22 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCTestTestHandler.h"
-#include <algorithm>
-#include <chrono>
-#include <cmath>
-#include <cmsys/Base64.h>
-#include <cmsys/Directory.hxx>
-#include <cmsys/RegularExpression.hxx>
-#include <cstring>
-#include <functional>
-#include <iomanip>
-#include <iterator>
-#include <set>
-#include <sstream>
-#include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
-#include <utility>
#include "cm_memory.hxx"
@@ -38,6 +22,24 @@
#include "cmake.h"
#include "cmsys/FStream.hxx"
+#include <algorithm>
+#include <chrono>
+#include <cmath>
+#include <cmsys/Base64.h>
+#include <cmsys/Directory.hxx>
+#include <cmsys/RegularExpression.hxx>
+#include <cstddef>
+#include <cstring>
+#include <functional>
+#include <iomanip>
+#include <iterator>
+#include <set>
+#include <sstream>
+#include <stdio.h>
+#include <stdlib.h>
+#include <time.h>
+#include <utility>
+
class cmExecutionStatus;
class cmCTestSubdirCommand : public cmCommand
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 <algorithm>
#include <cassert>
#include <chrono>
+#include <cstddef>
#include <ctime>
#include <iomanip>
#include <sstream>
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 <algorithm>
#include <assert.h>
+#include <cstddef>
#include <errno.h>
#include <iterator>
#include <memory>
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 <algorithm>
#include <assert.h>
+#include <cstddef>
#include <functional>
#include <iterator>
#include <set>
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 <array>
+#include <cstddef>
#include <cstdio>
#include <functional>
#include <limits>
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 <algorithm>
+#include <cstddef>
#include <deque>
#include <initializer_list>
#include <map>
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 <algorithm>
+#include <cstddef>
#include <functional>
#include <initializer_list>
#include <memory>
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 <algorithm>
+#include <cstddef>
#include <cstdio>
#include <errno.h>
#include <stdlib.h>
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 <array>
+#include <cstddef>
#include <iosfwd>
#include <memory>
#include <string>
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 <chrono>
+#include <cstddef>
#include <ctime>
#include <ostream>
#include <stack>