diff options
author | Brad King <brad.king@kitware.com> | 2019-01-15 09:59:46 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-15 10:00:50 -0500 |
commit | cd0881be61149346649f3aef9b69d58bd7a2549a (patch) | |
tree | c61c16ad2cc901cba8b0a9be49693268c7ceea41 /Source/CPack | |
parent | 2033c1e56fd3d9367fc4eb9a2595c3c592575d54 (diff) | |
download | cmake-cd0881be61149346649f3aef9b69d58bd7a2549a.tar.gz |
IWYU: Update CMake code for IWYU built with Clang 6
IWYU now correctly requires `<utility>` for `std::move`. It also
requires a container header when used via a range-based for loop.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 1 | ||||
-rw-r--r-- | Source/CPack/cmCPackExternalGenerator.cxx | 1 | ||||
-rw-r--r-- | Source/CPack/cmCPackSTGZGenerator.cxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index ee1070fe50..b43f1c9735 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -10,6 +10,7 @@ #include "cmWorkingDirectory.h" #include <cstring> +#include <map> #include <ostream> #include <utility> #include <vector> diff --git a/Source/CPack/cmCPackExternalGenerator.cxx b/Source/CPack/cmCPackExternalGenerator.cxx index 9f7b236a1b..ff6941825f 100644 --- a/Source/CPack/cmCPackExternalGenerator.cxx +++ b/Source/CPack/cmCPackExternalGenerator.cxx @@ -13,6 +13,7 @@ #include "cmsys/FStream.hxx" +#include <map> #include <utility> #include <vector> diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx index ef0d1182c4..e55ea870d0 100644 --- a/Source/CPack/cmCPackSTGZGenerator.cxx +++ b/Source/CPack/cmCPackSTGZGenerator.cxx @@ -6,6 +6,7 @@ #include <sstream> #include <stdio.h> #include <string> +#include <vector> #include "cmCPackGenerator.h" #include "cmCPackLog.h" |