summaryrefslogtreecommitdiffstats
path: root/Source/cmLoadCacheCommand.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 19:42:35 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 20:35:20 (GMT)
commit5afac50f6852332698fbc9be4209f1c90a011d66 (patch)
tree3c8419b04eb2114818a57128216560815b36dfe3 /Source/cmLoadCacheCommand.h
parentff4fa70c201236d5355d55c386cc04cb143bde10 (diff)
downloadCMake-5afac50f6852332698fbc9be4209f1c90a011d66.zip
CMake-5afac50f6852332698fbc9be4209f1c90a011d66.tar.gz
CMake-5afac50f6852332698fbc9be4209f1c90a011d66.tar.bz2
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/ }'
Diffstat (limited to 'Source/cmLoadCacheCommand.h')
-rw-r--r--Source/cmLoadCacheCommand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLoadCacheCommand.h b/Source/cmLoadCacheCommand.h
index 539c74e..fc2b8b0 100644
--- a/Source/cmLoadCacheCommand.h
+++ b/Source/cmLoadCacheCommand.h
@@ -4,6 +4,7 @@
#define cmLoadCacheCommand_h
#include <cmConfigure.h>
+
#include <set>
#include <string>
#include <vector>