diff options
author | Brad King <brad.king@kitware.com> | 2020-10-14 16:06:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-14 16:06:50 (GMT) |
commit | f1fdd15863150fe42e99a95362a4387333502262 (patch) | |
tree | af1dcee0256ce0cfea26b03543fdf4c0634b3268 /Source | |
parent | 3cc3d42aba879fff5e85b363ae8f21386a3f9f9b (diff) | |
download | CMake-f1fdd15863150fe42e99a95362a4387333502262.zip CMake-f1fdd15863150fe42e99a95362a4387333502262.tar.gz CMake-f1fdd15863150fe42e99a95362a4387333502262.tar.bz2 |
clang-format: Fix include block order in ctest.cxx and cpack.cxx
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cpack.cxx | 18 | ||||
-rw-r--r-- | Source/ctest.cxx | 9 |
2 files changed, 14 insertions, 13 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 3a400b7..76e19dc 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -1,6 +1,15 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ +#include <cstddef> +#include <iostream> +#include <map> +#include <memory> +#include <sstream> +#include <string> +#include <utility> +#include <vector> + #include "cmsys/CommandLineArguments.hxx" #include "cmsys/Encoding.hxx" @@ -22,15 +31,6 @@ # include "cmsys/ConsoleBuf.hxx" #endif -#include <cstddef> -#include <iostream> -#include <map> -#include <memory> -#include <sstream> -#include <string> -#include <utility> -#include <vector> - namespace { const char* cmDocumentationName[][2] = { { nullptr, " cpack - Packaging driver provided by CMake." }, diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 3b5bf8c..f06981a 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -1,6 +1,11 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ +#include <cstring> +#include <iostream> +#include <string> +#include <vector> + #include "cmsys/Encoding.hxx" #include "cmCTest.h" @@ -12,10 +17,6 @@ #if defined(_WIN32) && !defined(CMAKE_BOOTSTRAP) # include "cmsys/ConsoleBuf.hxx" #endif -#include <cstring> -#include <iostream> -#include <string> -#include <vector> static const char* cmDocumentationName[][2] = { { nullptr, " ctest - Testing driver provided by CMake." }, |