clang-format: Fix include block order in ctest.cxx and cpack.cxx
This commit is contained in:
parent
3cc3d42aba
commit
f1fdd15863
@ -1,6 +1,15 @@
|
|||||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
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/CommandLineArguments.hxx"
|
||||||
#include "cmsys/Encoding.hxx"
|
#include "cmsys/Encoding.hxx"
|
||||||
|
|
||||||
@ -22,15 +31,6 @@
|
|||||||
# include "cmsys/ConsoleBuf.hxx"
|
# include "cmsys/ConsoleBuf.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cstddef>
|
|
||||||
#include <iostream>
|
|
||||||
#include <map>
|
|
||||||
#include <memory>
|
|
||||||
#include <sstream>
|
|
||||||
#include <string>
|
|
||||||
#include <utility>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const char* cmDocumentationName[][2] = {
|
const char* cmDocumentationName[][2] = {
|
||||||
{ nullptr, " cpack - Packaging driver provided by CMake." },
|
{ nullptr, " cpack - Packaging driver provided by CMake." },
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
#include <iostream>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "cmsys/Encoding.hxx"
|
#include "cmsys/Encoding.hxx"
|
||||||
|
|
||||||
#include "cmCTest.h"
|
#include "cmCTest.h"
|
||||||
@ -12,10 +17,6 @@
|
|||||||
#if defined(_WIN32) && !defined(CMAKE_BOOTSTRAP)
|
#if defined(_WIN32) && !defined(CMAKE_BOOTSTRAP)
|
||||||
# include "cmsys/ConsoleBuf.hxx"
|
# include "cmsys/ConsoleBuf.hxx"
|
||||||
#endif
|
#endif
|
||||||
#include <cstring>
|
|
||||||
#include <iostream>
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
static const char* cmDocumentationName[][2] = {
|
static const char* cmDocumentationName[][2] = {
|
||||||
{ nullptr, " ctest - Testing driver provided by CMake." },
|
{ nullptr, " ctest - Testing driver provided by CMake." },
|
||||||
|
Loading…
Reference in New Issue
Block a user