diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-23 22:27:08 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-23 22:38:46 (GMT) |
commit | 41ec352832037d316c34b3eba336eeb7f4163d86 (patch) | |
tree | 26484705d2c821b770dbbac02c95d0585dbed240 | |
parent | 72ea66b1cf28bba68f2b81637864a330e3ae715f (diff) | |
download | CMake-41ec352832037d316c34b3eba336eeb7f4163d86.zip CMake-41ec352832037d316c34b3eba336eeb7f4163d86.tar.gz CMake-41ec352832037d316c34b3eba336eeb7f4163d86.tar.bz2 |
IWYU: use pragma export
-rw-r--r-- | Source/cmConfigure.cmake.h.in | 2 | ||||
-rw-r--r-- | Source/cmDynamicLoader.cxx | 1 | ||||
-rw-r--r-- | Source/cmDynamicLoader.h | 2 | ||||
-rw-r--r-- | Source/cmSystemTools.cxx | 1 | ||||
-rw-r--r-- | Source/cmSystemTools.h | 2 |
5 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in index 26f1df2..5f89ba1 100644 --- a/Source/cmConfigure.cmake.h.in +++ b/Source/cmConfigure.cmake.h.in @@ -3,7 +3,7 @@ #ifndef cmConfigure_h #define cmConfigure_h -#include <cmsys/Configure.hxx> // IWYU pragma: keep +#include <cmsys/Configure.hxx> // IWYU pragma: export #ifdef _MSC_VER #pragma warning(disable : 4786) diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx index a30b642..39a59fc 100644 --- a/Source/cmDynamicLoader.cxx +++ b/Source/cmDynamicLoader.cxx @@ -4,7 +4,6 @@ #include <cmConfigure.h> -#include <cmsys/DynamicLoader.hxx> #include <map> #include <string> #include <utility> diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h index d14f81e..5d69400 100644 --- a/Source/cmDynamicLoader.h +++ b/Source/cmDynamicLoader.h @@ -10,7 +10,7 @@ #include <cmConfigure.h> // IWYU pragma: keep -#include <cmsys/DynamicLoader.hxx> +#include "cmsys/DynamicLoader.hxx" // IWYU pragma: export class cmDynamicLoader { diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index b7afa10..b2e3c6a 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -33,7 +33,6 @@ #include <cmsys/FStream.hxx> #include <cmsys/RegularExpression.hxx> #include <cmsys/System.h> -#include <cmsys/SystemTools.hxx> #include <cmsys/Terminal.h> #include <ctype.h> #include <errno.h> diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 10e8280..070f81f 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -5,9 +5,9 @@ #include <cmConfigure.h> // IWYU pragma: keep +#include "cmsys/SystemTools.hxx" // IWYU pragma: export #include <cmProcessOutput.h> #include <cmsys/Process.h> -#include <cmsys/SystemTools.hxx> #include <stddef.h> #include <string> #include <vector> |