[Cmake-commits] CMake branch, master, updated. v3.15.2-966-g711e1c3

Kitware Robot kwrobot at kitware.com
Tue Sep 3 13:22:18 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  711e1c3ada26d952fa6360e671379b7bf1be2f17 (commit)
       via  de0a2354fcd2f97b1a8f7ec98b4b623e76d88c2c (commit)
       via  1aa0a18c41eb6b8dbfc9130eb975fa9ecd6b680c (commit)
      from  72b7629956c1718ce59db8a6a0d485b166ed6fe0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=711e1c3ada26d952fa6360e671379b7bf1be2f17
commit 711e1c3ada26d952fa6360e671379b7bf1be2f17
Merge: 72b7629 de0a235
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Sep 3 17:16:05 2019 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Sep 3 13:16:17 2019 -0400

    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 at kitware.com>
    Merge-request: !3774


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de0a2354fcd2f97b1a8f7ec98b4b623e76d88c2c
commit de0a2354fcd2f97b1a8f7ec98b4b623e76d88c2c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Sep 3 11:41:40 2019 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Sep 3 11:46:52 2019 -0400

    IWYU: Add missing cstddef includes for size_t and nullptr_t
    
    The IWYU tool we use for CI now diagnoses these.

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 547d2f3..b90209e 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -28,6 +28,7 @@
 #include <cmsys/Base64.h>
 #include <cmsys/Directory.hxx>
 #include <cmsys/RegularExpression.hxx>
+#include <cstddef>
 #include <cstring>
 #include <functional>
 #include <iomanip>
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>
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 <cstddef>
 #include <cstring>
 #include <iostream>
 #include <iterator>

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1aa0a18c41eb6b8dbfc9130eb975fa9ecd6b680c
commit 1aa0a18c41eb6b8dbfc9130eb975fa9ecd6b680c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Sep 3 11:45:34 2019 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Sep 3 11:46:52 2019 -0400

    cmCTestTestHandler: Re-order includes to follow our convention

diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 9181daa..547d2f3 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,23 @@
 #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 <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

-----------------------------------------------------------------------

Summary of changes:
 Source/CPack/IFW/cmCPackIFWCommon.cxx |  1 +
 Source/CTest/cmCTestTestHandler.cxx   | 34 ++++++++++++++++++----------------
 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, 29 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list