Commit 5afac50f authored by Daniel Pfeifer's avatar Daniel Pfeifer

cmConfigure: Ensure separate include block in headers

Make sure that `#include <cmConfigure.h>` is followed by an empty line
in header files.  This is necessary to make sure that changing <> to ""
does not affect the include ordering of clang-format.

Automate with:

git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
| xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
parent ff4fa70c
......@@ -4,6 +4,7 @@
#define cmCPackBundleGenerator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackDragNDropGenerator.h"
......
......@@ -4,6 +4,7 @@
#define cmCPackDragNDropGenerator_h
#include <cmConfigure.h>
#include <sstream>
#include <stddef.h>
#include <string>
......
......@@ -4,6 +4,7 @@
#define cmCPackOSXX11Generator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackGenerator.h"
......
......@@ -4,6 +4,7 @@
#define cmCPackPKGGenerator_h
#include <cmConfigure.h>
#include <set>
#include <sstream>
#include <string>
......
......@@ -4,6 +4,7 @@
#define cmCPackProductBuildGenerator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackGenerator.h"
......
......@@ -4,6 +4,7 @@
#define cmAddCompileOptionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAddCustomCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAddCustomTargetCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAddDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmDependenciessCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmExecutablesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLibrarysCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAddSubDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAddTestCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmAuxSourceDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmBreakCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmBuildCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmBuildNameCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmCMakeHostSystemInformationCommand_h
#include <cmConfigure.h>
#include <stddef.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmCMakeMinimumRequired_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmCMakePolicyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmCommonTargetGenerator_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <map>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmConfigureFileCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmContinueCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmDefinesPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFortran_h
#include <cmConfigure.h>
#include <iosfwd>
#include <set>
#include <string>
......
......@@ -4,6 +4,7 @@
#define cmDisallowedCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmEnableLanguageCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmEnableTestingCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmExecProgramCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmExecuteProcessCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmExportCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmExportLibraryDependenciesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFLTKWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFileCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFindFileCommand_h
#include <cmConfigure.h>
#include <string>
#include "cmFindPathCommand.h"
......
......@@ -4,6 +4,7 @@
#define cmFindLibraryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFindPackageCommand_h
#include <cmConfigure.h>
#include <cm_kwiml.h>
#include <map>
#include <set>
......
......@@ -4,6 +4,7 @@
#define cmFindPathCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFindProgramCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmForEachCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmFunctionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetCMakePropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetDirectoryPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetFilenameComponentCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetSourceFilePropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetTargetPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGetTestPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmGlobalXCodeGenerator_h
#include <cmConfigure.h>
#include <iosfwd>
#include <map>
#include <set>
......
......@@ -4,6 +4,7 @@
#define cmIfCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmIncludeCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmIncludeDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmIncludeExternalMSProjectCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmIncludeRegularExpressionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmInstallCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -7,6 +7,7 @@
#include "cmScriptGenerator.h"
#include <cmConfigure.h>
#include <iosfwd>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmInstallFilesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmInstallProgramsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmInstallTargetsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLinkDirectoriesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLinkLibrariesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmListCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLoadCacheCommand_h
#include <cmConfigure.h>
#include <set>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLoadCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmLocalXCodeGenerator_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <map>
#include <string>
......
......@@ -4,6 +4,7 @@
#define cmMacroCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmMakeDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmMarkAsAdvancedCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmMathCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmMessageCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmOptionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmOutputRequiredFilesCommand_h
#include <cmConfigure.h>
#include <set>
#include <stdio.h>
#include <string>
......
......@@ -4,6 +4,7 @@
#define cmParseArgumentsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmProjectCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmQTWrapCPPCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmQTWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmQtAutoGeneratorCommon_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmQtAutoGenerators_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <cmFilePathChecksum.h>
#include <cmsys/RegularExpression.hxx>
......
......@@ -4,6 +4,7 @@
#define cmRemoveCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmRemoveDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#define cmReturnCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
......