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/ }'
This commit is contained in:
Daniel Pfeifer 2017-04-11 21:42:35 +02:00
parent ff4fa70c20
commit 5afac50f68
111 changed files with 111 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#define cmCPackBundleGenerator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackDragNDropGenerator.h"

View File

@ -4,6 +4,7 @@
#define cmCPackDragNDropGenerator_h
#include <cmConfigure.h>
#include <sstream>
#include <stddef.h>
#include <string>

View File

@ -4,6 +4,7 @@
#define cmCPackOSXX11Generator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackGenerator.h"

View File

@ -4,6 +4,7 @@
#define cmCPackPKGGenerator_h
#include <cmConfigure.h>
#include <set>
#include <sstream>
#include <string>

View File

@ -4,6 +4,7 @@
#define cmCPackProductBuildGenerator_h
#include <cmConfigure.h>
#include <string>
#include "cmCPackGenerator.h"

View File

@ -4,6 +4,7 @@
#define cmAddCompileOptionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAddCustomCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAddCustomTargetCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAddDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmDependenciessCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmExecutablesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLibrarysCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAddSubDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAddTestCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmAuxSourceDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmBreakCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmBuildCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmBuildNameCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmCMakeHostSystemInformationCommand_h
#include <cmConfigure.h>
#include <stddef.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmCMakeMinimumRequired_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmCMakePolicyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmCommonTargetGenerator_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <map>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmConfigureFileCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmContinueCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmDefinesPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFortran_h
#include <cmConfigure.h>
#include <iosfwd>
#include <set>
#include <string>

View File

@ -4,6 +4,7 @@
#define cmDisallowedCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmEnableLanguageCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmEnableTestingCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmExecProgramCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmExecuteProcessCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmExportCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmExportLibraryDependenciesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFLTKWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFileCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFindFileCommand_h
#include <cmConfigure.h>
#include <string>
#include "cmFindPathCommand.h"

View File

@ -4,6 +4,7 @@
#define cmFindLibraryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFindPackageCommand_h
#include <cmConfigure.h>
#include <cm_kwiml.h>
#include <map>
#include <set>

View File

@ -4,6 +4,7 @@
#define cmFindPathCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFindProgramCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmForEachCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmFunctionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetCMakePropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetDirectoryPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetFilenameComponentCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetSourceFilePropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetTargetPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGetTestPropertyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmGlobalXCodeGenerator_h
#include <cmConfigure.h>
#include <iosfwd>
#include <map>
#include <set>

View File

@ -4,6 +4,7 @@
#define cmIfCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmIncludeCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmIncludeDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmIncludeExternalMSProjectCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmIncludeRegularExpressionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmInstallCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -7,6 +7,7 @@
#include "cmScriptGenerator.h"
#include <cmConfigure.h>
#include <iosfwd>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmInstallFilesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmInstallProgramsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmInstallTargetsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLinkDirectoriesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLinkLibrariesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmListCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLoadCacheCommand_h
#include <cmConfigure.h>
#include <set>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLoadCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmLocalXCodeGenerator_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <map>
#include <string>

View File

@ -4,6 +4,7 @@
#define cmMacroCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmMakeDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmMarkAsAdvancedCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmMathCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmMessageCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmOptionCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmOutputRequiredFilesCommand_h
#include <cmConfigure.h>
#include <set>
#include <stdio.h>
#include <string>

View File

@ -4,6 +4,7 @@
#define cmParseArgumentsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmProjectCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmQTWrapCPPCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmQTWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmQtAutoGeneratorCommon_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmQtAutoGenerators_h
#include <cmConfigure.h> // IWYU pragma: keep
#include <cmFilePathChecksum.h>
#include <cmsys/RegularExpression.hxx>

View File

@ -4,6 +4,7 @@
#define cmRemoveCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmRemoveDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmReturnCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSeparateArgumentsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetDirectoryPropertiesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetsPropertiesCommand_h
#include <cmConfigure.h>
#include <set>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetSourceFilesPropertiesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetTargetsPropertiesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSetTestsPropertiesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSiteNameCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSourceGroupCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmStringCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSubdirCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmSubdirDependsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmTargetCompileDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmTargetCompileFeaturesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmTargetCompileOptionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmTargetIncludeDirectoriesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

View File

@ -4,6 +4,7 @@
#define cmTargetLinkLibrariesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>

Some files were not shown because too many files have changed in this diff Show More